Category "node-gyp"

Why do I need Visual Studio and C++ to install node modules

Recently I have upgraded my node version to 14+ from 10+ in a Vue.Js app. But It was giving me some error and asking to install Visual Studio including C++. Whe

Why are native node modules always recompiled on npm install?

I am building an app with Electron 14, and node v14.17.7, respectively [npm 6.14.15] to build my native node modules. Every time I execute npm install all my na

NPM install fails with node-gyp

We are having problems running "npm install" on our project. A certain file cannot be found : fatal error C1083: Cannot open include file: 'windows.h' It app

`npm install` fails on node-gyp rebuild with `gyp: No Xcode or CLT version detected!`

Every time I try npm install. I get the following error. How do I fix it? gyp: No Xcode or CLT version detected! I am on node -v → v8.8.0 & npm -v &ra

node-gyp build error windows x64

Here's what I've done so far on my x64 OS: Installed Python (v2.7 --specifically 2.7.6) and added it to the system path (C:\Python27) Installed MS VS C++ 2010

In node-gyp binding.gyp file, how to include different library files based on the system arch (32 bit, 64bit))

I am currently trying to connect c++ with nodejs project using node-gyp. My current problem is that i have a 32 bit library file and a 64 bit library file. My c