_**1. Install node-gyp globally via npm: npm install --global node-gyp
Install windows-build-tools with any one of below, whichever first works:
npm install --global --production windows-build-tools
npm install --global windows-build-tools@4.0.0
npm install --global --production windows-build-tools --vs2015
Launch cmd: npm config set msvsversion 2017**
But getting some error please see the errors and guide me where i am doing mistakes:-
PS C:\Users\SHOAIB IBRAHIM.vscode\FisrtProject> npm install --global --production windows-build-tools
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config production Use --omit=dev instead.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You
probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for
details.
npm ERR! code 1
npm ERR! path C:\Users\SHOAIB IBRAHIM\AppData\Roaming\npm\node_modules\windows-build-tools
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./dist/index.js
Downloading python-2.7.15.amd64.msi
npm ERR! [> ] 0.0% (0 B/s)
npm ERR! Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\SHOAIB IBRAHIM.windows-build-tools\python-2.7.15.amd64.msi.
Downloading vs_BuildTools.exe
npm ERR! [> ] 0.0% (0 B/s)
npm ERR! Downloaded vs_BuildTools.exe. Saved to C:\Users\SHOAIB IBRAHIM.windows-build-tools\vs_BuildTools.exe.
npm ERR!
npm ERR! Starting installation...
npm ERR! Please restart this script from an administrative PowerShell!
npm ERR! The build tools cannot be installed without administrative rights.
npm ERR! To fix, right-click on PowerShell and run "as Administrator".
118 #137
Additional context
Add any other context or screenshots about the feature request here.
Hi, I have followed the some process for this:-
_**1. Install node-gyp globally via npm: npm install --global node-gyp
Install windows-build-tools with any one of below, whichever first works: npm install --global --production windows-build-tools npm install --global windows-build-tools@4.0.0 npm install --global --production windows-build-tools --vs2015
But getting some error please see the errors and guide me where i am doing mistakes:- PS C:\Users\SHOAIB IBRAHIM.vscode\FisrtProject> npm install --global --production windows-build-tools npm WARN config global --global, --local are deprecated. Use --location=global instead. npm WARN config global --global, --local are deprecated. Use --location=global instead. npm WARN config production Use --omit=dev instead. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated windows-build-tools@5.2.2: Node.js now includes build tools for Windows. You probably no longer need this tool. See https://github.com/felixrieseberg/windows-build-tools for details. npm ERR! code 1 npm ERR! path C:\Users\SHOAIB IBRAHIM\AppData\Roaming\npm\node_modules\windows-build-tools npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./dist/index.js Downloading python-2.7.15.amd64.msi npm ERR! [> ] 0.0% (0 B/s) npm ERR! Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\SHOAIB IBRAHIM.windows-build-tools\python-2.7.15.amd64.msi. Downloading vs_BuildTools.exe npm ERR! [> ] 0.0% (0 B/s) npm ERR! Downloaded vs_BuildTools.exe. Saved to C:\Users\SHOAIB IBRAHIM.windows-build-tools\vs_BuildTools.exe. npm ERR! npm ERR! Starting installation... npm ERR! Please restart this script from an administrative PowerShell! npm ERR! The build tools cannot be installed without administrative rights. npm ERR! To fix, right-click on PowerShell and run "as Administrator".
118 #137
Additional context Add any other context or screenshots about the feature request here.