vue-cli新建工程无法启动

2018-10-28  本文已影响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  安装依赖

上一篇下一篇

猜你喜欢

热点阅读