节点NPM安装错误typechecker@2.0.8 preinstall

时间:2017-11-01 02:43:32

标签: node.js npm

在部署到EC2时运行npm install --only=production CodeDeploy失败并显示以下日志。

[stdout]> typechecker@2.0.8 preinstall /home/ubuntu/node/node_modules/.staging/typechecker-58aa0eda
[stdout]> node ./cyclic.js
line 17: 20390 Killed                   npm install --only=production
npm ERR! Cannot read property 'pause' of undefined

我唯一改变的是更新我的NPM包和更新Node。但是我的回滚现在也失败了。

任何想法如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

This issue was solved in NPM version 5.5.0 or something looks like. Here is the official NPM bug.