H:\Workspaces\IDEAWorkspace\vue-meituan>npm run dev

> vue-meituan@1.0.1 dev H:\Workspaces\IDEAWorkspace\vue-meituan
> cross-env NODE_ENV=development node build/dev-server.js

'cross-env' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-meituan@1.0.1 dev: `cross-env NODE_ENV=development node build/dev-server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-meituan@1.0.1 dev 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\hepo\AppData\Roaming\npm-cache\_logs\2018-04-27T07_05_04_052Z-debug.logyin

需要先安装,对应目录下命令行:npm install


参考:博客

Logo

前往低代码交流专区

更多推荐