Can';t使用vue cli网页包简单运行npm dev

Can';t使用vue cli网页包简单运行npm dev,npm,webpack,vue.js,vuejs2,Npm,Webpack,Vue.js,Vuejs2,我是按照以下步骤安装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

我是按照以下步骤安装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,非常感谢您的帮助:)

您是否安装了node.js和npm的最新版本?npm->3.10.10,node->v6.10.3So,根据错误消息,我将首先尝试更新到node.js和npm的最新版本。您试过了吗?您是否先运行了
npm安装
enoint
通常意味着某些东西不存在。我确实存在,而且npm安装也不起作用,我以前已经做过了