Javascript 当我尝试使用npm安装brain.js时,我遇到了这个错误
当我尝试使用Javascript 当我尝试使用npm安装brain.js时,我遇到了这个错误,javascript,node.js,npm,brain.js,Javascript,Node.js,Npm,Brain.js,当我尝试使用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! Thi
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.
我通过重新安装node.js解决了这个问题,一些包出现了问题,当我重新安装时,问题就解决了。感谢所有试图回答我问题的人:)我通过重新安装node.js解决了这个问题。一些软件包出现了问题,当我重新安装时,问题就解决了。感谢所有试图回答我问题的人:)您使用的是什么版本的node?我建议尝试使用
npm install brain.js--loglevel verbose
查看日志中的更多信息。你有没有使用过公司代理?谢谢您使用的是哪个版本的node?我建议尝试使用npm install brain.js--loglevel verbose
,以便在日志中查看更多信息。你有没有使用过公司代理?谢谢