Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular 4 compatibility issue #17

Open
shibulijack opened this issue May 9, 2017 · 0 comments
Open

Angular 4 compatibility issue #17

shibulijack opened this issue May 9, 2017 · 0 comments

Comments

@shibulijack
Copy link

package.json:

"dependencies": {
    "@angular/common": "4.0.2",
    "@angular/compiler": "4.0.2",
    "@angular/compiler-cli": "4.0.2",
    "@angular/core": "4.0.2",
    "@angular/forms": "4.0.2",
    "@angular/http": "4.0.2",
    "@angular/platform-browser": "4.0.2",
    "@angular/platform-browser-dynamic": "4.0.2",
    "@ionic-native/core": "3.4.2",
    "@ionic-native/splash-screen": "3.4.2",
    "@ionic-native/status-bar": "3.4.2",
    "@ionic/storage": "2.0.1",
    "angular2-jwt": "0.1.27",
    "auth0-js": "7.4.0",
    "auth0-lock": "10.13.0",
    "ionic-angular": "3.1.1",
    "ionicons": "3.0.0",
    "rxjs": "5.1.1",
    "sw-toolbox": "3.4.0",
    "zone.js": "^0.8.5"
  },

Throws the following error for the above setup:
Uncaught Error: Cannot find module "auth0-js/plugins/cordova"

Tried upgrading auth0-js to the latest version, but ended up in further errors such as auth0_js___default.a is not a constructor

What versions should I use for auth0-js, auth0-lock and angular2-jwt to work properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant