关于vue启动报错解决

3 篇文章 0 订阅
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.

以上就是我碰到的问题

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值