-
Notifications
You must be signed in to change notification settings - Fork 237
Could not install Visual Studio Build Tools #152
Comments
I'm getting this same issue. |
same here |
same here
|
I also faced this problem. use 4.0.0 for now. The latest seems to be bugged |
+1 |
Damn |
same here |
To those who are looking for an alternative way to get your machine set up, the Node.js project is working with Microsoft on a recipe for installing the required build toolchain (admittedly it's hard to get this one right). ATM we have two fairly decent suggestions:
|
Just use it simply
|
Thanks,it's done. just use
npm install --global --production [email protected]
At 2019-01-14 15:27:45, "bgSosh" <[email protected]> wrote:
3 months - what's going on guys?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@LuKaXiya Apologies - that was a bit terse, I was having a bad day bad 😩 |
Someone gave me this solution, you can give it a try.
To those who are looking for an alternative way to get your machine set up, the Node.js project is working with Microsoft on a recipe for installing the required build toolchain (admittedly it's hard to get this one right). ATM we have two fairly decent suggestions:
Install the MS VS2017 Community Edition as described in nodejs/node#24462 (comment)
(The "Visual C++ build tools" workload + the "Python 2" and "Git for Windows" individual components)
The new install_tools.bat from nodejs/node#24677
Which is just: Install chocolatey, and run choco upgrade python2 visualstudio2017-workload-vctools.
Or in script form:
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command Start-Process '%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe' -ArgumentList '-NoProfile -InputFormat None -ExecutionPolicy Bypass -Command iex ((New-Object System.Net.WebClient).DownloadString(''https://chocolatey.org/install.ps1'')); choco upgrade -y python2 visualstudio2017-workload-vctools; Read-Host ''Type ENTER to exit'' ' -Verb RunAs
在 2019-01-16 17:58:17,"bgSosh" <[email protected]> 写道:
@LuKaXiya Apologies - that was a bit terse, I was having a bad day bad 😩
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
me too, how to deal with it |
I am also experiencing this issue with v5.1.0. Installation hangs and never finishes. Installing v4.0.0 worked. |
the savior |
Thanks bro. |
thanks work very well |
👍 Also stuck on this. |
Thank you so much, npm install --global --production [email protected] |
I tried
Downloading python-2.7.14.amd64.msi Starting installation... Status from the installers: Could not install Visual Studio Build Tools. Now configuring the Visual Studio Build Tools and Python... All done!
|
Thank you ... Works perfectly |
This should be fixed with #183, however that's not been published to npm yet. |
same issue:
|
Thank you, npm install --global --production [email protected] is worked for me. |
I am using below NPM versions
While installing below command, still seeing
And from the build-logs, I found below exception
|
Facing same error with node 10.16.3LTS, windows 7. Have tried with npm install --global --production [email protected], but not worked. Kindly do the needful |
I had VS2015 and VS2017 installed. So once VS2015 is uninstalled, it worked perfectly. |
All of these solutions didn't work for me, installation gets stuck. |
Not to badmouth this package or anything, but maybe try using WSL. Node.js natives on windows is already hard despite this package made it much easier. |
PS C:\Windows\system32> npm install -g windows-build-tools
Downloading python-2.7.15.amd64.msi Starting installation... Status from the installers: Anyone can tell me What's solution is this problem "Still waiting for installer log file..."..??? |
Any progress? |
I was able to fix my install by doing these three things (Not sure which action(s) fixed the issue):
Then all I needed to do was: |
This one was the case (Python 3.7 installed from the Microsoft Store). |
npm -v = 6.14
still gettting error, could
|
So what if we need both Python 3.x and Python 2.x? |
I think what you can do is actually :
|
New to windows so this took a while... Here's what I did to get this working. Including node-gyp and electron rebuild in here as well just in case people are landing here to build native libraries for Electron in windows
Install things
|
Same here |
I tried npm install --global --production [email protected] but it wasn't working for me I would get error msg "Could not install Visual Studio Build Tools" I deleted my python using Add or Remove programs on windows. I then deleted .windows-build-tools folder. After running thanks @hmmhmmhm |
Really it is working |
Another option is to try installing the build tools via Chocolatey instead (use an Administrator command line): choco install python visualcpp-build-tools -y
npm config set msvs_version 2017 Maybe this should be documented in the readme as an alternative... |
^^ @karlhorky - that worked for me, you're a star! |
My CI/CD have Thank you |
None of these solutions work for me, Windows 10, Node 12. I'm off to Linux as I can't wait for this to be resolved. |
node version- 8.11
os: windows 10
npm version- 5.6
The text was updated successfully, but these errors were encountered: