Open xgqfrms opened 5 years ago
https://github.com/chjj/pty.js/issues/60#issuecomment-492556629 https://stackoverflow.com/questions/14278417/cannot-install-node-modules-that-require-compilation-on-windows-7-x64-vs2012/22411007#22411007
https://stackoverflow.com/questions/24182686/node-npm-error-on-windows-looking-for-tools-version
file:///H:/Program%20Files/nodejs/node_modules/npm/html/doc/cli/npm-config.html
$ npm config list -l
$ npm config list --json
"msvs_version": "2012",
$ npm install --global --production windows-build-tools
OK
https://www.microsoft.com/en-us/download/details.aspx?id=22
$ npm install -g node-gyp
The imported project "D:\Micros
oft.Cpp.Default.props" was not found. Confirm that the path in the
https://github.com/nodejs/node-gyp/issues/671
https://github.com/nodejs/node-gyp/issues/671#issuecomment-176186550
# cd C:
$ npm install -g node-gyp
$ SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
https://github.com/sass/node-sass/issues/1579#issuecomment-393040359
$ npm rebuild node-sass
https://github.com/sass/node-sass/issues/1918#issuecomment-284570068
.env
file & Node.js v20.x.x
Node.js & MSBUILD
Q:
A:
OK
Error