jlooper / giftler

🎁 Gift-giving made easy, with Firebase, NativeScript, and Angular 2
38 stars 53 forks source link

RadSideDrawer #2

Closed JoeyHengst closed 7 years ago

JoeyHengst commented 7 years ago

Trying to import RadSideDrawerComponent in this project and following guides on http://docs.telerik.com/devtools/nativescript-ui/Controls/Angular/SideDrawer/overview

But everytime when I get on the page where the RadSideDrawer is supposed to be I see this in the log :

EXCEPTION: Error in :0:0 caused by: undefined is not an object (evaluating 'this.drawerComponent.sideDrawer')

SIDEDRAWER_DIRECTIVES are imported in the app_module

package.json :

{
  "description": "Gift giving made easy!",
  "license": "SEE LICENSE IN <your-license-filename>",
  "readme": "NativeScript Application",
  "repository": "<fill-your-repository-here>",
  "nativescript": {
    "id": "com.ladeezfirstmedia.giftler",
    "tns-ios": {
      "version": "2.4.0"
    },
    "tns-android": {
      "version": "2.4.1"
    }
  },
  "dependencies": {
    "@angular/common": "2.2.1",
    "@angular/compiler": "2.2.1",
    "@angular/core": "2.2.1",
    "@angular/forms": "2.2.1",
    "@angular/http": "2.2.1",
    "@angular/platform-browser": "2.2.1",
    "@angular/platform-browser-dynamic": "2.2.1",
    "@angular/router": "3.2.1",
    "nativescript-angular": "1.2.0",
    "nativescript-camera": "^0.0.8",
    "nativescript-iqkeyboardmanager": "^1.0.1",
    "nativescript-plugin-firebase": "^3.8.4",
    "nativescript-telerik-ui": "^1.5.1",
    "nativescript-theme-core": "^1.0.2",
    "reflect-metadata": "~0.1.8",
    "rxjs": "5.0.0-beta.12",
    "tns-core-modules": "2.4.1"
  },
  "devDependencies": {
    "babel-traverse": "6.20.0",
    "babel-types": "6.20.0",
    "babylon": "6.14.1",
    "lazy": "1.0.11",
    "nativescript-dev-android-snapshot": "^0.*.*",
    "nativescript-dev-typescript": "^0.3.2",
    "typescript": "^2.0.10",
    "zone.js": "~0.6.21"
  }
}
jlooper commented 7 years ago

did you sort this? I don't use the side drawer, in general, in my apps so not sure how to help. Closing for now