Closed AmitT closed 10 years ago
@AmitT Can you try closing and reopening your command prompt or powershell window?
Had the exact same error and closing/reopening the prompt solved the issue. Apparently the prompt instance used to install chocolatey should not be used to install packages.
@izuzak It Works.Thanks. @mathbruyen, I have used the same instance to install other packages without problem.
Thanks for letting me know, @AmitT -- closing this then.
Had the exact same issue when using the same prompt as the chocolatey install command. Starting a new prompt fixed it.
CMD output:
C:\Users\Owner>cinst Atom Chocolatey (v0.9.8.25) is installing 'Atom' and dependencies. By installing you accept the license for 'Atom' and each dependency you are installing.
Atom v0.113.0 Extracting C:\Users\Owner\AppData\Local\Temp\chocolatey\Atom\AtomInstall.zip to C:\ProgramData\chocolatey\lib\Atom.0.113.0\tools...
Write-Error : Atom did not finish successfully. Boo to the chocolatey gods!
[ERROR] This command cannot be run due to the error: The system cannot find the
file specified.
At C:\ProgramData\chocolatey\chocolateyinstall\helpers\functions\Write-Chocolat eyFailure.ps1:30 char:3
Write-Error : Package 'Atom v0.113.0' did not install successfully: This comman d cannot be run due to the error: The system cannot find the file specified. At C:\ProgramData\chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:9 0 char:17