vue-lazy-component
vue-lazy-component copied to clipboard
npm install 失败,出现文件不存在的错误
npm 版本是 5.8.0 运行 npm install @xunlei/vue-lazy-component 出现如下错误:
npm ERR! path <Root>/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/package.json.1738479864
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '<Root>/node_modules/npm/node_modules/cacache/node_modules/mississippi/node_modules/stream-each/node_modules/stream-shift/package.json.1738479864'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2018-05-10T03_57_24_106Z-debug.log
麻烦 提交下完整的 /home/vagrant/.npm/_logs/2018-05-10T03_57_24_106Z-debug.log
我将npm升级到 6.0.1,安装这个包依然出现类似的错误,错误日志如上