Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: module "npm/taro-echarts/components/ec-canvas/ec-canvas.js" is not defined #11

Open
seed-fe opened this issue May 20, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@seed-fe
Copy link

seed-fe commented May 20, 2020

问题描述
按照readme里面配置了copy项,运行时报:
Error: module "npm/taro-echarts/components/ec-canvas/ec-canvas.js" is not defined

复现步骤
[复现问题的步骤]

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[代码只贴截图,不贴文字会被视为无效issue]
[代码只贴截图,不贴文字会被视为无效issue]
[代码只贴截图,不贴文字会被视为无效issue]

// 这里可以贴代码
// 点击链接查看如何插入代码:
// https://coding.net/help/doc/project/markdown.html#i-5

// ```js
// 代码放这里(前后的 "```" 有助 Mardown 整理代码格式和加入代码高亮)
// ```

// 提供完整可复现的代码和整理好代码格式,有助于我们快速定位问题,节省你我时间。
// 代码提供不全或代码格式混乱的 issues 【有可能被忽略】,烦请各位注意。

期望行为
不报错

报错信息

[这里请贴上你的完整报错截图或文字]

系统信息

Taro v1.2 及以上版本已添加 taro info 命令,方便大家查看系统及依赖信息,运行该命令后将结果贴下面即可。

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.0.0.64]
  • Node.js 版本 [e.g. v9.0.0]
  • 报错平台 [h5, weapp]

补充信息
感觉时copy部分的配置有问题吧?

@seed-fe seed-fe added the bug Something isn't working label May 20, 2020
@hrixhi
Copy link

hrixhi commented Sep 29, 2020

Any update on this? Experiencing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants