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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when use ngSemantic with Angular6 #197

Open
longjingjun opened this issue Jul 2, 2018 · 2 comments
Open

Error when use ngSemantic with Angular6 #197

longjingjun opened this issue Jul 2, 2018 · 2 comments

Comments

@longjingjun
Copy link

longjingjun commented Jul 2, 2018

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
Copy link

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

it is worked for me.

@francocores
Copy link

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

it is worked for me.

thanks / gracias

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

3 participants