Install Visual C++ Build Environment: For Visual Studio 2019 or later, use the Desktop development with C++ workload from Visual Studio Community. For a version older than Visual Studio 2019, install Visual Studio Build Tools with the Visual C++ build tools option.
Original npm-gyp repo click here.
npm run build
to compile native code.npm run dev
ornode index.js
to run JS script.