Rollup failed to resolve import “tslib“ from “node_modules/echarts/lib/core/echa

351 阅读1分钟

在HBuilderX中下载eharts插件然后引入eharts之后出现了这几个错误:

​编辑

以上这个问题直接通过pnpm i tslib 或者 npm i tslib 即可解决

​编辑

以上这个问题直接通过pnpm i zrender 或者 npm i zrender 即可解决