celerio-angular-quickstart
celerio-angular-quickstart copied to clipboard
Cannot find module 'rxjs-compat/Observable'
I have this error when i do ng serve --proxy-config proxy.conf.json : Cannot find module 'rxjs-compat/Observable' i installed npm install [email protected] module but i still have thie error.
same issue for me too.....
ERROR in node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
Same for me!
you are building with a higher version of angular cli (probably the last version which cause a few more errors) i suggest you to downgrade your version to use v1.6.8
Uninstall your current version
npm uninstall -g @angular/cli
Install v1.6.8
npm install -g @angular/[email protected] // or whatever version you need
Run Using Angular CLI v1.6.8
cd celerio-angular-quickstart/quickstart/web
//fix for fsevents platform issue, install forced (only if you are using windows platform) npm install [email protected] -f
npm i @angular/[email protected] npm i @angular/[email protected] npm i primeng npm i font-awesome
//fix for style.css (quickstart\web\src\styles.css) //remove '~' sign from line 4 @import '~https://fonts.googleapis.com/icon?family=Material+Icons';
ng serve --proxy-config proxy.conf.json -o
Even downgrade angular cli version and follow the steps above I get this error ERROR in src/app/app.component.ts(24,15): error TS2304: Cannot find name 'module'. src/app/entities/author/author-detail.component.ts(19,15): error TS2304: Cannot find name 'module'.
i 「wdm」: Failed to compile.