-
Notifications
You must be signed in to change notification settings - Fork 220
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
Getting Auth0 is not a constructor #66
Comments
hello what is you ng --version ? I got it working well with: angular-cli: 1.0.0-beta.26 |
Hi, I had the same issue, I fixed it like this... 1 - change the version of auth0-lock to 10.2.2. 2 - If you have another error with AlertModule (as I have) and DatepickerModule open /src/app/app.module.ts and change the line: let modules = [ To : let modules = [ I had a problem with firebase and I had to manually install it. My computer is in the officer, I put my version informations on monday. Sorry for bad English. xD |
angular-cli: 1.0.0-beta.26 |
The firebase problem has been fixed But the .forRoot fix doesn't thing to be required... You still have a problem getting that working ? @AlanAlbuquerque |
It seems related to https://auth0.com/forum/t/authlock-is-not-a-constructor/3296/8 Could someone try: Instead of the require in auth.service.ts ? (I still can't reproduce the issue so I can't fix...) |
By importing only There doesn't seem to be a I've just cloned this repo and executed |
@TwanoO67 if I insert import { Auth0Lock } from 'auth0-lock'; in auth service I have this message: |
I fixed the auth0lock library to the good one. BTW... as I don't personnaly use auth0 I'm looking someone to upgrade to the latest library (maybe @cindoum ? ), and maintain this part of code. |
perfect now is time to understand how customize it ;) |
Hi friend,
I clone the repo a install the dependecies, but when I try to run it I get this error:
Error in ./AppComponent class AppComponent - inline template:0:0 caused by: Auth0 is not a constructor
Any Idea?
The text was updated successfully, but these errors were encountered: