Comments (9)
hello
what is you ng --version ?
I got it working well with:
angular-cli: 1.0.0-beta.26
node: 7.2.0
os: linux x64
@angular/core: 2.4.4
from bootstraping-ngx-admin-lte.
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 = [
AlertModule,
DatepickerModule,
...
To :
let modules = [
AlertModule.forRoot(),
DatepickerModule.forRoot(),
...
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
from bootstraping-ngx-admin-lte.
angular-cli: 1.0.0-beta.26
node: 7.4.0
os: linux x64
@angular/core: 2.4.4
@angular/compiler: 2.4.4
@angular/common: 2.4.4
@angular/platform-browser: 2.4.4
@angular/platform-browser-dynamic: 2.4.4
@angular/http: 2.4.4
from bootstraping-ngx-admin-lte.
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
from bootstraping-ngx-admin-lte.
It seems related to https://auth0.com/forum/t/authlock-is-not-a-constructor/3296/8
Could someone try:
import Auth0Lock from 'auth0-lock'
Instead of the require in auth.service.ts ?
(I still can't reproduce the issue so I can't fix...)
from bootstraping-ngx-admin-lte.
By importing only Auth0Lock
from auth0-lock
, Auth0
itself is still not defined, but it's used here https://github.com/TwanoO67/ng2-admin-lte/blob/master/src/app/services/auth.service.ts#L16
There doesn't seem to be a Auth0
object that can be imported.
I've just cloned this repo and executed npm install
and npm start
. I'm running node 4.2.6.
from bootstraping-ngx-admin-lte.
@TwanoO67 if I insert import { Auth0Lock } from 'auth0-lock'; in auth service I have this message:
Module '"auth0-lock"' has no exported member 'Auth0Lock' probably I have to install another version of auth0-lock library?
from bootstraping-ngx-admin-lte.
I fixed the auth0lock library to the good one.
Delete your node_modules and npm install
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.
If there's no-one interrested in a reasonable time I will replace the login page for a more "standard" one, using an home made server example.
(that would be easier for begginers to modify by their own authentification logick)
from bootstraping-ngx-admin-lte.
perfect now is time to understand how customize it ;)
Thank you
from bootstraping-ngx-admin-lte.
Related Issues (20)
- Every refresh will send the page to Login HOT 3
- Date picker HOT 4
- professional support
- getting error while starting npm HOT 2
- how you have added jquery support in ng2-admin-lte HOT 1
- typo HOT 1
- Problem with AOT compilation HOT 3
- Problem with ng build --prod HOT 1
- Can class "content" remove inner box style HOT 3
- docker image and linux problem with ng serve HOT 1
- How to deploy the application on production HOT 3
- Change skin admin lte
- Upgrade to bootstrap version 4 HOT 2
- Unable to see home after login HOT 1
- package.json script gen HOT 1
- I want to be a contributor HOT 4
- There is no menu in aside menu list HOT 2
- control-sidebar is Invalid
- Not able to go inside after login screen HOT 1
- Fix @angular/cli version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstraping-ngx-admin-lte.