Uncategorized

The Dreaded node-gyp installation problem on Windows 10

Time and time again, I encounter this dreaded node-gyp installation problem for Windows. I used to get away with in but when the package depends on it, I have no choice but to fix it.

I just followed this instructions: https://github.com/nodejs/node-gyp#on-windows

  • Installed Python 3.7.3 from Microsoft Store
  • Run npm install --global windows-build-tools in Powershell as an administrator
  • Then run npm install again to install the package that I need, in my case, the segfault-handler

That’s it!

1 thought on “The Dreaded node-gyp installation problem on Windows 10”

Leave a reply

Your email address will not be published. Required fields are marked *