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
- [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
- Angular 6 “Can’t bind to ‘ngModel’ since it isn’t a known property of ‘input’.”
- No value accessor for form control
- Install tkinter for Python
- What does the “as” keyword do?
- Angular 2 Cannot find control with unspecified name attribute on formArrays
- Typescript: Index signature is missing in type
- How to get current route
- Mask for an Input to allow phone numbers?
- Are there any downsides to installing WordPress on Windows versus Linux?
- How to Check the Directory Where WordPress is Installed?
- Does WordPress Import/Export tool actually exports media (images) as well?
- Sharing one WordPress installation between several “sites”?
- What causes an Unexpected HTTP Error within install plugins?
- Correct folder permissions?
- Installing wordpress on Parallels plesk 9.5.3
- Multi site clarification
- Installing WordPress in a subdirectory
- Is it possible to install WordPress Multisite on a subdomain with subdirectories?
- WordPress Plugins Don’t Automatically Update
- WordPress Skeleton installation
- Powering only a subfolder with WordPress on a LAMP stack with an nginx reverse proxy
- Installing a Plugin ( Which is already manually uploaded )
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- Hook into install email
- How to replace a wordpress installation in root directory with another in a subdirectory?
- WordPress Installation
- How to add plugin activity in the menus?
- Best practice: Should I always install a fresh OS for new employees?