rebuild node-pty code example
Example: 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
# 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