-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Module not found: Error: Can't resolve 'rxjs/operators' #112
Comments
@ziaulain when does the error occur? with |
The problem seems to be is with the version. I was using some other plugin and was having the same issue. After downgrading the version of the plugin it started working. |
npm install rxjs@6 rxjs-compat@6 --save |
If it is a compatibility issue, can someone please explain the correct way to handle the operators? map, catch, etc |
I came across this issue after upgrading node and npm. Running ng serve would throw this error. |
Bug Report or Feature Request (mark with an
x
)OS and Version?
Mac os: High sierra
10.13.2
Versions
angular/cdk: 2.0.0-beta.12
angular/cli: 1.5.0
angular/language-service: 4.4.3
angular/material: 2.0.0-beta.12
angular-devkit/build-optimizer: 0.0.33
angular-devkit/core: 0.0.20
angular-devkit/schematics: 0.0.36
ngtools/json-schema: 1.1.0
ngtools/webpack: 1.8.0
schematics/angular: 0.1.5
typescript: 2.3.4
webpack: 3.8.1
Repro steps
Install NgProgressRouterModule
If you need the progress bar to start for navigating between your app routes, add this module
import { HttpModule } from '@angular/http';
import { NgProgressModule } from '@ngx-progressbar/core';
import { NgProgressHttpModule } from '@ngx-progressbar/http';
@NgModule({
imports: [
....
NgProgressModule.forRoot(),
NgProgressHttpModule,
...
],
})
Component in AppComponent template
The log given by the failure
ERROR in ./node_modules/@ngx-progressbar/core/esm5/ngx-progressbar-core.js
Module not found: Error: Can't resolve 'rxjs/operators'
The text was updated successfully, but these errors were encountered: