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
Unexpected exit code from Composer (255) #3980
Comments
Can you try to download https://getcomposer.org/download/1.0.0-alpha10/composer.phar with your browser and then run |
I can't download it, It fails. I think there is a problem with composer servers because I can't download ComposerSetup.exe or composer.phar or any file! But I could download it from composer/composer.org on github, here's what I got Checking platform settings: OK |
What do you mean it fails? What do you see in your browser? Can I see a screenshot or something of the error? Can you access https://getcomposer.org at all? |
Fatal error: Uncaught exception 'PharException' with message 'phar "C:\ProgramDa |
Network error.. that's not quite descriptive :/ Do you have curl on the command line by any chance? If not you can get one of the free versions from http://www.confusedbycode.com/curl/ to get it installed, and then if you can run |
|
Can you also try |
|
Ok interesting.. can you try again the getcomposer one please? I tweaked the SSL config a bit to see if that helps. |
Still the same error |
Hay! I don't know what happened but I have another error now in ComposerSetup.exe Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org Request to https://getcomposer.org/installer failed with errors: |
Damn ok. I'm not sure what's causing this from the output it's not quite clear to me. @rdlowrey sorry to nag you every time but if you have any clue it'd be appreciated :) |
Oh! I don't know how but now every thing works perfectly 😃 👍 I really mean every thing ComposerSetup.exe and https://getcomposer.org and everything, whatever you did, THANK YOU! |
Well the funny thing is I didn't do anything, but I am glad it works.. I wonder if it's your internet provider doing funky things to SSL traffic. |
I was using composer with no problem when something happened and I thought there was a problem with my version of composer, so I ran "composer self-update", and this cause some kind of error, therefore I delete C:\ProgramData\ComposerSetup, and I'm now trying to reinstall composer, but I get this error "Unexpected exit code from Composer (255)", and when I download ComposerSetup.exe again from the site I get network error!
This is really annoying. I don't know what happened!
The text was updated successfully, but these errors were encountered: