Updated: 23 December 2025

Node-gyp

If you run into the node-gyp issue, look at the installation instructions on the node-gyp documentation that tell you the prereqs and how to install the build tools for windows and set the python version

Terminal window
1
npm install --global --production windows-build-tools
2
node-gyp --python /path/to/python2.7
3
npm config set python /path/to/executable/python2.7

For more information you can also look at the Node on Windows Guidelines

Alternatively an easier solution is to just run things in a Docker container if possible

MSBuild

If you run into the MSBuild version error, let me know how you fixed it otherwise just switch to Ubuntu and start over

EAI_AGAIN Error

If when running npm install you see the following error

1
npm ERR! code EAI_AGAIN
2
npm ERR! errno EAI_AGAIN

It means there is a problem with your internet connection, not NPM (or Docker)