当我尝试使用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.
答案 0 :(得分:0)
我通过重新安装node.js解决了这个问题。某些软件包有问题,当我重新安装它时就解决了。感谢所有试图回答或回答我的问题的人:)