简体   繁体   中英

I get this error when I try to install brain.js using npm

I always get this error when I try to install brain.js using npm install brain.js

Here is the error:

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.

I solved the problem by reinstalling node.js Some packages had issues and when I reinstalled it solved. Thanks for everyone who tried to answer or answered my question :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM