This problem might arise due to version mismatch. To solve your problem you need to do following changes in your package.json file.
Step 1 : Go to package.json
and modify "rxjs": "^6.0.0"
to "rxjs": "6.0.0"
Step 2 Run npm install
in your project.
There is no need to change the typescript version. (Mine: "typescript": "~2.7.2"
)
Edit: If you are using rxjs-compat
then you also need to do following in order to fixed the issue. change the rxjs-compat
version from "rxjs-compat": "^6.2.2"
to "rxjs-compat": "6.2.2"
Hope this will help!
Related Posts:
- Angular File Upload
- TypeScript-‘s Angular Framework Error – “There is no directive with exportAs set to ngForm”
- I get “Http failure response for (unknown url): 0 Unknown Error” instead of actual error message in Angular
- Repository is not clean. Please commit or stash any changes before updating In Angular 8
- Repository is not clean. Please commit or stash any changes before updating In Angular 8
- Angular 2 : No NgModule metadata found
- Angular2 – Http POST request parameters
- Can’t bind to ‘ngModel’ since it isn’t a known property of ‘input’
- Can’t bind to ‘ngModel’ since it isn’t a known property of ‘input’
- Difference between Constructor and ngOnInit
- Can’t bind to ‘formGroup’ since it isn’t a known property of ‘form’
- What is the Record type in typescript?
- How can I define an array of objects?
- How to convert a string to number in TypeScript?
- What is pipe for in RxJS?
- How can I define an array of objects?
- How to convert a string to number in TypeScript?
- Could not find a declaration file for module ‘module-name’. ‘/path/to/module-name.js’ implicitly has an ‘any’ type
- Interfaces vs Types in TypeScript
- BehaviorSubject vs Observable?
- Failed to load resource: net::ERR_CONNECTION_REFUSED : Nodejs
- What is the question mark for in a Typescript parameter name
- Angular: mat-form-field must contain a MatFormFieldControl
- (change) vs (ngModelChange) in angular
- What is the difference between Promises and Observables?
- Unable to resolve dependency tree error when installing npm packages
- Typescript interface default values
- Angular ForEach in Angular4/Typescript?
- TypeScript: Cannot read property ‘push’ of undefined in [null]
- Angular4 – No value accessor for form control
- Understanding esModuleInterop in tsconfig file
- Why do i need `typings.json` file in an Angular 2 project?
- error: This is probably not a problem with npm. There is likely additional logging output above
- npm WARN … requires a peer of … but none is installed. You must install peer dependencies yourself
- document.getElementById replacement in angular4 / typescript?
- What is ViewChild in Angular2?
- TS1086: An accessor cannot be declared in ambient context
- error TS2339: Property ‘x’ does not exist on type ‘Y’
- TypeScript hashmap/dictionary interface
- How to use jQuery with TypeScript
- Angular2 Error: There is no directive with “exportAs” set to “ngForm”
- TypeScript sorting an array
- Angular 5 to 6 Upgrade: Property ‘map’ does not exist on type Observable
- ‘router-outlet’ is not a known element
- Error when trying to inject a service into an angular component “EXCEPTION: Can’t resolve all parameters for component”, why?
- Typescript Date Type?
- No provider for HttpClient
- Constructor overload in TypeScript
- How to implement sleep function in TypeScript?
- How to update TypeScript to latest version with npm?
- Angular 2 Checkbox Two Way Data Binding
- Implement session storage in an Angular 8 application
- Is key-value pair available in Typescript?
- Can’t bind to ‘routerLink’ since it isn’t a known property
- How to use bootstrap 4 in angular 2?
- cannot redeclare block scoped variable (typescript)
- Angular 4 setTimeout() with variable delay and wait
- What does the .subscribe() function do?
- Why do i need `typings.json` file in an Angular 2 project?
- How do I initialize a TypeScript Object with a JSON-Object?
- ‘tsc command not found’ in compiling typescript
- What return type should be used for setTimeout in TypeScript?
- How do I download a file with Angular2 or greater
- TS cannot find modules
- Angular 2 Sort table columns
- Module has no exported member error in angular module
- How do I install Angular 2 using NPM?
- Angular HTTP GET with TypeScript error http.get(…).map is not a function in [null]
- How to apply filters to *ngFor?
- Select default option value from typescript angular 6
- Cast object to interface in TypeScript
- What is TypeScript and why would I use it in place of JavaScript? [closed]
- ES6 Map in Typescript
- pip not recognised as an internal or external command
- How to completely remove Python from a Windows machine?
- Angular: ‘Cannot find a differ supporting object ‘[object Object]’ of type ‘object’. NgFor only supports binding to Iterables such as Arrays’
- How to install Visual C++ Build tools?
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- Tensorflow import error: No module named ‘tensorflow’
- Angular, image not found (GET 404)
- Could not find module “@angular-devkit/build-angular”
- How do I install pip on macOS or OS X?
- Angular: conditional class with *ngClass
- Can not find module “@angular-devkit/build-angular”
- How do I install pip on macOS or OS X?
- How can I install pip on Windows?
- “pip install unroll”: “python setup.py egg_info” failed with error code 1
- ImportError: No module named tensorflow
- AngularJS vs Angular [closed]
- How to define type for a function callback (as any function type, not universal any) used in a method parameter
- How do I install and use cURL on Windows?
- When to use ‘npm start’ and when to use ‘ng serve’?
- Homebrew install specific version of formula?
- ExpressionChangedAfterItHasBeenCheckedError Explained
- Angular 10 – can’t bind to ‘formGroup’ since it isn’t a known property of ‘form’
- What is a build tool?
- How to use *ngIf else?
- Virustotal Trapmine suspicious.low.ml.score
- Error – Android resource linking failed (AAPT2 27.0.3 Daemon #0)
- TypeScript Objects as Dictionary types as in C#