node-gyp for windows build tools code example
Example 1: windows-build-tools
# Open terminal as administrator
yarn global add windows-build-tools
# or
npm install --global windows-build-tools
Example 2: node-gyp
npm install -g node-gyp
# Open terminal as administrator
yarn global add windows-build-tools
# or
npm install --global windows-build-tools
npm install -g node-gyp