Skip to content
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

Installation of Chocolatey fails with several errors on a clean Windows 10 Home machine #35124

Open
dmauas opened this issue Sep 9, 2020 · 2 comments
Labels
install Issues and PRs related to the installers. windows Issues and PRs related to the Windows platform.

Comments

@dmauas
Copy link

dmauas commented Sep 9, 2020

  • Version:
    v12.18.3
  • Platform:
    Windows 10 Home
    Version: 1909
    Installed on: 08/09/2020
    OS Build: 18363.1016
  • Subsystem:

What steps will reproduce the bug?

How often does it reproduce? Is there a required condition?

Simply downloaded Node installer MSI, ran it using all default options,
when the checkbox for "install additional stuff for visual studio" appeared,
I checked it.
Installation ran...
And failed horribly.

What is the expected behavior?

Installation should run without errors.

What do you see instead?

When a windows powershell window opened, wherein the installation of Chocolately began...
in steps.
then I noticed, after a while the errors started appearing, the first being:

Python not installed. An error occurred during installation: Unable to read package from path 'python3.3.8.5.20200721.nupkg'.

Followed by multiple errors...
Eventually the powershell window got stuck, and stopped responding.
I force-closed it, and rebooted.

Additional information

Now... I have absolutely ZERO idea what was installed... where, and how in the world to uninstall it.
I honestly regret ever having touched it.

I believe a "full-uninstall-and-clean.exe" file should be provided. I can't think of any better idea, for this type of case.
I have no idea what to fix, where to look for the fix even.

@bzoz
Copy link
Contributor

bzoz commented Sep 10, 2020

Make sure you have an active internet connection and retry running the script. It will be in the Start menu, under Install additional Tools for Node.js. Choco will pick up where it left and will install all remaining dependencies.

You can also install those apps by hand. You need:

  • Python 3 - you can find it in the Microsoft Store
  • Visual Studio 2019 and pick Desktop development with C++ while installing.

To get what was installed by Chocolately, run choco list -l in the command prompt.

@huseyinacacak-janea
Copy link
Contributor

Hi @dmauas, I wanted to look into this issue but wasn't able to reproduce it (I tried Node 18.20.2, 20.12.2, and 22.0.0). Do you think this can be closed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Issues and PRs related to the installers. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

4 participants