when building the Angular app I get many of these errors, below is just the first one
ERROR in ./~/@reactivex/rxjs/dist/cjs/Rx.js
Module not found: Error: Can't resolve './add/operator/filter' in
'...\node_modules\@reactivex\rxjs\dist\cjs'
@ ./~/@reactivex/rxjs/dist/cjs/Rx.js 70:0-32
@ ./~/@reactivex/rxjs/index.js
@ ./~/ri-api-client/dist/index.js
@ ./src/app/core/api.service.ts
@ ./src/$$_gendir/app/app.module.ngfactory.ts
@ ./src/main.ts
@ multi ./src/main.ts
what am I missing?
I had similar error..
`ERROR in ./src/app/shared/giphy/giphy.service.ts`
Module not found: Error: Can't resolve 'rxjs/add/operator/map' in '/Users/user1/opt/work/mine/development/ic/ic-pms/pms-ui/src/app/shared/giphy'
ℹ 「wdm」: Failed to compile.
ERROR in src/app/shared/giphy/giphy.service.ts(16,35): error TS2339: Property 'map' does not exist on type 'Observable<Object>'.
Ans solution for that is
npm install rxjs@6 rxjs-compat@6 --save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With