npm ERR! code EREADFILE 有人遇到过吗?
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "\nodejs\\node.exe" "\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
npm ERR! node v5.1.1
npm ERR! npm v3.3.12
npm ERR! code EREADFILE
npm ERR! Error extracting \AppData\Roaming\npm-cache\grunt-htmlhint\0.9
he\grunt-htmlhint\0.9.9\package.tgz'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm clean cache
也是一样报错
搜了一下也有同样的错误
https://github.com/npm/npm/issues/10184
https://github.com/npm/npm/issues/10057
1 回复
\AppData\Roaming\npm-cache\grunt-htmlhint\0.9
he\grunt-htmlhint\0.9.9\package.tgz
解包的时候出错,删除这个文件,重新安装,有可能是下载的过程有错。可以安装cnpm后重试。