Home > Net >  NPM Install - ignore errors
NPM Install - ignore errors

Time:11-14

I'm trying to do npm install to download all the packages listed in my package.json, but one of the packages doesn't work because some node-gyp bs, but it doesn't just skip that package, it fails to install any.

How can i make it ignore the errors and just continue installing packages? I don't need all of them for all parts of my program.

CodePudding user response:

What you could do is temporarily remove the packages that require node-gyp, and then install the packages and add them back to your package.json. Basically, you'd be removing the packages that are being troublemakers, and then putting them back so that you can remember what they are.

  • Related