atom / chocolatey

chocolatey installer for Atom
MIT License
12 stars 17 forks source link

Install faild #16

Closed AmitT closed 10 years ago

AmitT commented 10 years ago

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

    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error

The term 'true' is not recognized as the name of a cmdlet, function, script file
, or operable program. Check the spelling of the name, or if a path was included
, verify that the path is correct and try again.
Command 'install' failed (sometimes this indicates a partial failure). Additiona
l info/packages: Atom

failure.log file: 

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.
-----------------------
izuzak commented 10 years ago

@AmitT Can you try closing and reopening your command prompt or powershell window?

mathbruyen commented 10 years ago

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.

AmitT commented 10 years ago

@izuzak It Works.Thanks. @mathbruyen, I have used the same instance to install other packages without problem.

izuzak commented 10 years ago

Thanks for letting me know, @AmitT -- closing this then.

mathieupinet commented 10 years ago

Had the exact same issue when using the same prompt as the chocolatey install command. Starting a new prompt fixed it.