-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nodejs installation fails when trying to install visualstudio2017-workload-vctools #34458
Comments
What is your exact windows version (you can run |
|
Could you run the tools install script again (it should be in the start menu)? This might be just a temporary issue with choco. |
I had already run it five or six times throughout the day, before posting this issue here. No improvements. |
Tried it, works on my Windows Server 2012 R2 VM. I did get that big JSON error message about connection reliability, but VS2017 was installed anyway. Could you try running from an elevated prompt:
Also, could you check if your system is up-to-date? No pending updates, etc.? |
Thanks for your ongoing help. I tried your update command from a I will check for pending updates later and report back to you. |
There were 2 updates and 5 optional updates pending. I installed them an run again. No improvement. Still the same error message. Any ideas what to try next? I am kind of desperate to find a solution. This machine is our local build server and I am supposed to set up the build pipeline for future web development projects. |
Hm.. now when I look at the log I see this:
Do you have maybe other VS products installed? Maybe try running VS Installer - it should be in the start menu or in
If this fails you can try manually installing VS2017. |
We have certainly Visual Studio 2019 installed and (maybe) Visual Studio 2013. I have to check the latter one, though... |
We certainly do not have Visual Studio 2017 installed. But I assume not everybody who wants to use nodejs should need a Visual Studio 2017 license, right? |
There is a free community edition. You might not have VS2017 installed, but it shares the installation tool with other products. The error message looks like the installer complaining it is not up-to-date. Please check if you don't have anything in |
Okay, so there was Visual Studio 2017 Build Tools installed already. I have no idea why
So in a nutshell: The original problem is still a mystery to me, but the manual installation did the job. |
System
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always fails at last step when Chocolatey trys to install
visualstudio2017-workload-vctools
. No condition required.What is the expected behavior?
Installation just works and finishes without errors.
What do you see instead?
The error message:
Chocolatey_Error.txt
hinting at an "Error 0x80072: No internet connection"
Note that, despite the error message's suggestion, I have a reliable, high-bandwidth internet connection and do not experience any other internet problems.
Additional information
Unrelated to the problem, but I had to install the latest Powershell and tweak the Powershell version in
install_tools.bat
as described in #33140 in order to run the Chocolatey install. That worked before on my other Windows machine which has Windows 8.1 installed.The text was updated successfully, but these errors were encountered: