当我尝试使用 npm 安装 brain.js 时出现此错误



当我尝试安装大脑时,我总是收到此错误.js使用npm install 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.

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

最新更新