download node-gyp code example
Example 1: node-gyp
npm install -g node-gyp
Example 2: node-gyp rebuild
# Open the terminal as an administrator
# Go to your project folder and run:
npm config set node_gyp
npm config set msvs_version 2017
npm i
Example 3: node-gyp
npm install -g node-gyp node-pre-gyp