小编ZHA*_*yao的帖子

使用“npm 缓存验证”时“在 EOF 之后出现错误 stream.push()”

当我尝试使用“npm cache verify”时,出现以下错误

0 info it worked if it ends with ok
1 verbose cli [ '/home/noderuntime/output/bin/node',
1 verbose cli   '/home/noderuntime/output/bin/npm',
1 verbose cli   'cache',
1 verbose cli   'verify' ]
2 info using npm@5.5.1
3 info using node@v8.9.1
4 verbose npm-session c361f37acc40114f
5 verbose stack Error: stream.push() after EOF
5 verbose stack     at readableAddChunk (/home/noderuntime/output/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_readable.js:264:30)
5 verbose stack     at Class.Readable.push (/home/noderuntime/output/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_readable.js:238:10)
5 verbose stack     at Array.from.map.entry (/home/noderuntime/output/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js:120:29)
5 verbose stack     at Array.map (<anonymous>)
5 verbose stack     at getKeyToEntry.then.reduced (/home/noderuntime/output/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js:119:47)
5 …
Run Code Online (Sandbox Code Playgroud)

node.js npm node-modules

3
推荐指数
1
解决办法
2434
查看次数

标签 统计

node-modules ×1

node.js ×1

npm ×1