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

npm run start 报错 #755

Closed
yangfancoming opened this issue Jul 29, 2018 · 1 comment
Closed

npm run start 报错 #755

yangfancoming opened this issue Jul 29, 2018 · 1 comment
Assignees

Comments

@yangfancoming
Copy link

环境信息

  • 操作系统: win10
  • Iceworks 版本: 2.5.1

问题描述

我找到问题原因了!

将项目中 .babelrc 文件中的 @babel/preset-stage-2 代码块 注释掉 项目就可以正常启动了。
请问下 这个 @babel/preset-stage-2 对项目功能上 没有什么影响的吧?

错误信息

@chenbin92
Copy link
Collaborator

chenbin92 commented Jul 29, 2018

@yangfancoming
vue-cli 的依赖问题,已修复,重新生成项目或者执行 npm i @babel/preset-stage-2 -D

具体可以查看 vue-cli 官方的相关 issue:vuejs/vue-cli#1162

相关文章: vue-cli 3.0 特性速读

@chenbin92 chenbin92 self-assigned this Jul 29, 2018
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