vladotesanovic / ngSemantic

Angular 2 building blocks :package: based on Semantic UI
https://ng-semantic.herokuapp.com/
MIT License
973 stars 148 forks source link

Error when use ngSemantic with Angular6 #197

Open longjingjun opened 6 years ago

longjingjun commented 6 years ago

I follow the instruction to install ng-semantic. It is installed.

When I try to start the app using "ng serve", I got the following error:

ERROR in ./node_modules/ng-semantic/src/search/search.js Module not found: Error: Can't resolve 'rxjs/add/operator/debounceTime' in '/Users/user/Documents/Work/NodeJS_WorkSpace/LibraryManager/node_modules/ng-semantic/src/search' ERROR in ./node_modules/ng-semantic/src/search/search.js Module not found: Error: Can't resolve 'rxjs/add/operator/distinctUntilChanged' in '/Users/user/Documents/Work/NodeJS_WorkSpace/LibraryManager/node_modules/ng-semantic/src/search'

Here is my info:

` Angular CLI: 6.0.8 Node: 8.9.3 OS: darwin x64 Angular: 6.0.7 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.6.8 @angular-devkit/build-angular 0.6.8 @angular-devkit/build-optimizer 0.6.8 @angular-devkit/core 0.6.8 @angular-devkit/schematics 0.6.8 @angular/cli 6.0.8 @ngtools/webpack 6.0.8 @schematics/angular 0.6.8 @schematics/update 0.6.8 rxjs 6.2.1 typescript 2.7.2 webpack 4.8.3

`

thenewnet commented 6 years ago

Need to import the library as below: npm install --save rxjs-compat@6

it is worked for me.

francocores commented 5 years ago

Need to import the library as below: npm install --save rxjs-compat@6

it is worked for me.

thanks / gracias