Open DeveloperSudipto opened 3 years ago
Can you confirm that the download succeeded? What happens when you try to run the installers manually?
You could also try using an older version, e.g. npm install --global --production windows-build-tools@4
and looking for more clues in the log file (C:\Users\USER\AppData\Local\npm-cache_logs\2021-07-10T14_35_36_189Z-debug.log
)
Hi @jacobq ,
I am getting the below message after running the suggested command. PS C:\Windows\system32> npm install --global --production windows-build-tools@4 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 request/request#3142
added 112 packages, changed 34 packages, and audited 147 packages in 2m
6 packages are looking for funding run npm fund for details
5 vulnerabilities (3 low, 2 high)
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run npm audit for details.
Could you please suggest the next step?
Hi ,
I am getting the below message and build tool is not getting generated .Please help.
PS C:\Windows\system32> npm install --global --production windows-build-tools 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 ERR! code 3221225786 npm ERR! path C:\Users\USER\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\USER.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\USER.windows-build-tools\vs_BuildTools.exe. npm ERR! npm ERR! Starting installation... npm ERR! Launched installers, now waiting for them to finish. npm ERR! This will likely take some time - please be patient! npm ERR! npm ERR! Status from the installers: ---------- Visual Studio Build Tools ---------- npm ERR! Still waiting for installer log file... npm ERR! ------------------- Python -------------------- npm ERR! Action start 20:05:05: PublishProduct. npm ERR! Action ended 20:05:05: PublishProduct. Return value 1. npm ERR! Action start 20:05:05: InstallFinalize. npm ERR! CAQuietExec: Collecting setuptools npm ERR! CAQuietExec: Collecting pip npm ERR! ^C
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\USER\AppData\Local\npm-cache_logs\2021-07-10T14_35_36_189Z-debug.log