无法使用vue cli webpack-simple运行npm dev

时间:2017-07-03 17:25:23

标签: npm webpack vue.js vuejs2

我正在github link之后安装vuejs,我完成了所描述的所有步骤,但是当我尝试运行npm dev时,我的堆栈跟踪充满了错误:

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! file C:\WINDOWS\system32\cmd.exe;C:\PostgreSQL\9.2\bin; C:\PostgreSQL\9.2\lib
npm ERR! path C:\WINDOWS\system32\cmd.exe;C:\PostgreSQL\9.2\bin; C:\PostgreSQL\9.2\lib
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe;C:\PostgreSQL\9.2\bin; C:\PostgreSQL\9.2\lib
npm ERR! floraapp@1.0.0 dev: `cross-env NODE_ENV=development webpack-dev-server --open --hot`
npm ERR! spawn C:\WINDOWS\system32\cmd.exe;C:\PostgreSQL\9.2\bin; C:\PostgreSQL\9.2\lib ENOENT
npm ERR!
npm ERR! Failed at the floraapp@1.0.0 dev script 'cross-env NODE_ENV=development webpack-dev-server --open --hot'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the floraapp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env NODE_ENV=development webpack-dev-server --open --hot
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs floraapp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls floraapp
npm ERR! There is likely additional logging output above.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! floraapp@1.0.0 dev: `cross-env NODE_ENV=development webpack-dev-server --open --hot`
npm ERR! Exit status -4058
npm ERR!
npm ERR! Failed at the floraapp@1.0.0 dev script 'cross-env NODE_ENV=development webpack-dev-server --open --hot'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the floraapp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     cross-env NODE_ENV=development webpack-dev-server --open --hot
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs floraapp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls floraapp
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\FilipeCosta\Desktop\backOffice-FloraApp\npm-debug.log

我的操作系统是Windows 10,任何帮助表示赞赏:)

0 个答案:

没有答案