【问题标题】:I get this error when I try to install brain.js using npm当我尝试使用 npm 安装 Brain.js 时出现此错误
【发布时间】:2020-04-23 08:35:26
【问题描述】:

当我尝试使用 npm install brain.js 安装 Brain.js 时,我总是收到此错误

这是错误:

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! gl@4.4.0 install: `prebuild-install || node-gyp rebuild`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the gl@4.4.0 install script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

【问题讨论】:

  • 你使用的是什么版本的节点?
  • 我建议尝试使用npm install brain.js --loglevel verbose 只是为了在日志中查看更多信息。您是否有任何机会使用任何公司代理?谢谢!

标签: javascript node.js npm brain.js


【解决方案1】:

我通过重新安装 node.js 解决了这个问题一些包有问题,当我重新安装它时解决了。感谢所有试图回答或回答我的问题的人:)

【讨论】:

    猜你喜欢
    • 2021-11-03
    • 2021-08-25
    • 2022-12-05
    • 1970-01-01
    • 1970-01-01
    • 2020-12-04
    • 2021-09-12
    • 2018-07-24
    • 2020-10-09
    相关资源
    最近更新 更多