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

Cannot find module 'rxjs-compat/Observable' #72

Open
hilout opened this issue Jul 9, 2018 · 4 comments
Open

Cannot find module 'rxjs-compat/Observable' #72

hilout opened this issue Jul 9, 2018 · 4 comments

Comments

@hilout
Copy link

hilout commented Jul 9, 2018

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.

@bucherarnold
Copy link

same issue for me too.....

@palaciosdiego
Copy link

ERROR in node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.

Same for me!

@bucherarnold
Copy link

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

@palaciosdiego
Copy link

palaciosdiego commented Aug 16, 2018

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.

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