CNode

npm ERR! code EREADFILE 有人遇到过吗?

问答
Yyakczh发布于11 年前最后回复11 年前1 回复8445 浏览0 收藏
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)

Z
zhangjh#1·11 年前
\AppData\Roaming\npm-cache\grunt-htmlhint\0.9
he\grunt-htmlhint\0.9.9\package.tgz

解包的时候出错,删除这个文件,重新安装,有可能是下载的过程有错。可以安装cnpm后重试。

参与回复
登录后即可参与回复。登录