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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular 7 with ngx-admin-lte . #72

Open
JigneshPatel04 opened this issue Apr 2, 2019 · 3 comments
Open

angular 7 with ngx-admin-lte . #72

JigneshPatel04 opened this issue Apr 2, 2019 · 3 comments

Comments

@JigneshPatel04
Copy link

Hello ,
I am created new angular project like as ng new my-project.
I have installed the npm i ngx-admin-lte package in my project.
when I use this module or CanActivateGuard in app.routing.module then got many errors.

errors like as 馃憤
ERROR in node_modules/angular2-toaster/src/toaster.service.d.ts(3,10): error TS2305: Module '"node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/angular2-toaster/src/toaster.service.d.ts(5,10): error TS2305: Module '"/node_modules/rxjs/Subject"' has no exported member 'Subject'.
node_modules/ngx-admin-lte/node_modules/@ngx-translate/core/src/translate.directive.d.ts(2,10): error TS2305: Module '"/node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
node_modules/rxjs/ReplaySubject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/ReplaySubject'.
node_modules/rxjs/Rx.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat'.
node_modules/rxjs/Subject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subject'.
node_modules/rxjs/Subscription.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subscription'.
etc....

Is it support Angular 7+ version ?

@TwanoO67
Copy link
Owner

TwanoO67 commented Apr 2, 2019

Hello,

I haven't work with angular for a while now, so I don't have implemented new version since the new rxjs syntax bump.
But I will be happy to merge that if you have a suggestion.

@TwanoO67
Copy link
Owner

TwanoO67 commented Apr 2, 2019

btw, you should start by "npm install ngx-admin-lte@2.0.0-beta.11" which was the latest beta compatible with angular6

@JigneshPatel04
Copy link
Author

JigneshPatel04 commented Apr 3, 2019

I have installed same version "ngx-admin-lte": "2.0.0-beta.11" in my "@angular/cli": "~7.3.0",= project.
same here occurred in angular 7+.
Will I down my angular version ? :(

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

2 participants