ngx-echarts icon indicating copy to clipboard operation
ngx-echarts copied to clipboard

Cannot find module 'echarts'

Open yin-xie opened this issue 5 years ago • 2 comments

image image

yin-xie avatar Nov 01 '18 01:11 yin-xie

@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.

xieziyu avatar Nov 26 '18 06:11 xieziyu

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

EfkanKnz avatar Jul 02 '19 14:07 EfkanKnz