ngx-echarts
ngx-echarts copied to clipboard
Cannot find module 'echarts'
@Yin-Xie
Please try to remove the echarts paths in tsconfig.json and add it back into angular.json
:
"architect": {
"build": {
"options": {
"scripts": [
+ "node_modules/echarts/dist/echarts.min.js"
]
}
}
}
Please let me know if this is working for your case.
Try to reinstall and make sure to run this 3 commands:
npm install echarts -S
npm install ngx-echarts -S
npm install @types/echarts -D