美文网首页
vue-cli新建工程无法启动

vue-cli新建工程无法启动

作者: 慕梓曦 | 来源:发表于2018-10-28 13:56 被阅读0次

> day01@1.0.0 lint D:\WorkspaceVue\day01

> eslint --ext .js,.vue src "--fix"

'eslint' 不是内部或外部命令,也不是可运行的程序

或批处理文件。

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! day01@1.0.0 lint: `eslint --ext .js,.vue src "--fix"`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the day01@1.0.0 lint script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:

npm ERR!    C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2018-10-28T05_30_03_907Z-debug.log

# Project initialization finished!

# ========================

To get started:

  cd day01

  npm run dev

Documentation can be found at https://vuejs-templates.github.io/webpack

npm run dev 启动工程失败

解决问题:

缺少依赖   cnpm install  安装依赖

相关文章

网友评论

      本文标题:vue-cli新建工程无法启动

      本文链接:https://www.haomeiwen.com/subject/robptqtx.html