akveo / nebular

:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/nebular
MIT License
8.05k stars 1.51k forks source link

Getting TypeError: Observable.of is not a function when running after performing recent npm update #702

Closed jjgriff93 closed 6 years ago

jjgriff93 commented 6 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

Current behavior: Getting TypeError: rxjs_Observable__WEBPACK_IMPORTED_MODULE_1__.Observable.of is not a function at ChangeFilter.push../node_modules/ngx-echarts/ngx-echarts.es4.js..... now when running the ngx-admin dashboard, after running npm update and updating all of the packages in the project. Now all of the echarts won't display on the dashboard

Expected behavior:

Echarts working normally again

Steps to reproduce:

Perform an npm update on the modified ngx-admin template project

Other information:

npm, node, OS, Browser

NPM version
5.6.0

Node version
v8.11.3

Angular, Nebular

NGX version: 2.3.0
Angular core: 6.0.0
Nebular: 2.0.0-rc.10
jjgriff93 commented 6 years ago

Solved it - realised I needed to upgrade the packages as there were some compatibility issues, putting it here in case anyone runs into this as well:

npm i -g npm-check-updates
ncu -u
npm install
aymen7 commented 5 years ago

thanks @jjgriff93 for the heads up :+1:

jjgriff93 commented 5 years ago

No problem @aymen7 :)