vue-cli新建工程无法启动

> 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  安装依赖

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容