Benjamin-Loison / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
0 stars 0 forks source link

`'C:\ProgramData\chocolatey\lib\nodejs.install\nodejs.install.nupkg' is not a valid nupkg file. Error: 'The file is not a valid nupkg.` #3

Closed Benjamin-Loison closed 8 months ago

Benjamin-Loison commented 8 months ago
choco upgrade all --y
Chocolatey v2.2.2
Upgrading the following packages:
all
By upgrading, you accept licenses for the packages.

Chocolatey upgraded 0/0 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
'C:\ProgramData\chocolatey\lib\nodejs.install\nodejs.install.nupkg' is not a valid nupkg file. Error: 'The file is not a valid nupkg. File path: C:\ProgramData\chocolatey\lib\nodejs.install\nodejs.install.nupkg'.

Got this error after a restart of a VirtualBox Windows machine, as it was stuck.

Benjamin-Loison commented 8 months ago

Deleting C:\ProgramData\chocolatey\lib\nodejs.install\ solved the issue.