0 info it worked if it ends with ok
1 verbose cli [ 'E:\\商铺\\NodeJs\\node.exe',
1 verbose cli 'E:\\商铺\\NodeJs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'cache',
1 verbose cli 'clean' ]
2 info using npm@5.10.0
3 info using node@v8.9.4
4 verbose npm-session 0e607836e94eb2fd
5 verbose stack Error: As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead.
5 verbose stack
5 verbose stack If you're sure you want to delete the entire cache, rerun this command with --force.
5 verbose stack at clean (E:\商铺\NodeJs\node_modules\npm\lib\cache.js:71:22)
5 verbose stack at EventEmitter.cache (E:\商铺\NodeJs\node_modules\npm\lib\cache.js:46:16)
5 verbose stack at Object.commandCache.(anonymous function) (E:\商铺\NodeJs\node_modules\npm\lib\npm.js:159:13)
5 verbose stack at EventEmitter.<anonymous> (E:\商铺\NodeJs\node_modules\npm\bin\npm-cli.js:121:30)
5 verbose stack at _combinedTickCallback (internal/process/next_tick.js:131:7)
5 verbose stack at process._tickCallback (internal/process/next_tick.js:180:9)
6 verbose cwd E:\
7 verbose Windows_NT 10.0.17134
8 verbose argv "E:\\商铺\\NodeJs\\node.exe" "E:\\商铺\\NodeJs\\node_modules\\npm\\bin\\npm-cli.js" "cache" "clean"
9 verbose node v8.9.4
10 verbose npm v5.10.0
11 error As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead.
11 error
11 error If you're sure you want to delete the entire cache, rerun this command with --force.
12 verbose exit [ 1, true ]
切记 npm install 下载完依赖之后,要启动vue项目,还得cd vue项目,然后npm run dev.
以上就是我碰到的问题