美文网首页写写代码
npm ERR! cb() never called!

npm ERR! cb() never called!

作者: 极客先生 | 来源:发表于2021-07-13 17:58 被阅读0次

问题

GeekChiefdeMacBook-Air:appium-desktop-1.20.2 geekchief$ npm install
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://npm.community>

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/geekchief/.npm/_logs/2021-07-12T06_56_29_399Z-debug.log

解决

这个问题,是因为npm程序执行到未知流程节点中然后没有调用回调通知任务已执行完成,导致进程异常退出,据官方说法他们也没有太好的方式解决,建议直接升级npm版本,我是按照他们的建议方案解决的!

给大家附上Github上关于此ISSUE的讨论:https://github.com/npm/cli/issues/417

相关文章

网友评论

    本文标题:npm ERR! cb() never called!

    本文链接:https://www.haomeiwen.com/subject/lqpspltx.html