TwanoO67 / ngx-admin-lte

Admin LTE for Angular 2/4/6/8 as a NPM package
MIT License
109 stars 47 forks source link

angular 7 with ngx-admin-lte . #72

Open JigneshPatel04 opened 5 years ago

JigneshPatel04 commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

JigneshPatel04 commented 5 years ago

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 ? :(