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, thesegfault-handler
That’s it!
Yeah windows…