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

使用ve-charts大于0.8.2版本时启动报错 #129

Closed
windedge opened this issue Sep 11, 2020 · 6 comments
Closed

使用ve-charts大于0.8.2版本时启动报错 #129

windedge opened this issue Sep 11, 2020 · 6 comments

Comments

@windedge
Copy link

使用vue-cli创建的空白工程,使用ve-charts大于0.8.2版本时启动报错,错误信息如图:
image

@windedge
Copy link
Author

这个会是什么原因? @xiaoluoboding

@xiaoluoboding
Copy link
Member

@windedge 请提供下运行环境,比如 vue 脚手架版本之类的

@windedge
Copy link
Author

windedge commented Sep 11, 2020

使用 vue init webpack vecharts-demo创建项目,
node版本:v12.16.3
yarn版本:1.22.4
nvm版本:0.35.3
vue-cli版本:2.9.6

@xiaoluoboding
Copy link
Member

@windedge 建议升级 vue-cli 版本到 3+

@windedge
Copy link
Author

vue-cli升级4.5.6后,重新执行vue-cli init webpack

还是报同样的错

@xiaoluoboding
Copy link
Member

@windedge vue-cli init xxx 我记得还是用的 2.x 版本模版,新版本命令是 vue create xxx,参考文档:https://cli.vuejs.org/zh/guide/creating-a-project.html#vue-create

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants