Could not open input file: C:\Users\appveyor\AppData\Local\Temp\1\composer.phar

soullivaneuh's Avatar

soullivaneuh

Nov 30, 2015 @ 05:09 PM

Hi,

I tried to setup AppVeyor for a PHP open-source project.

I got the following error when running composer:

Could not open input file: C:\Users\appveyor\AppData\Local\Temp\1\composer.phar

You can find the failing build here: https://ci.appveyor.com/project/Soullivaneuh/isocodesvalidator/build/1.x.15/job/x9hwkvvb3qk6mgi5

And the related GitHub PR: https://github.com/Soullivaneuh/IsoCodesValidator/pull/49/files

Any idea of what is going on?

Thanks.

  1. Support Staff 1 Posted by Feodor Fitsner on Dec 01, 2015 @ 08:35 PM

    Feodor Fitsner's Avatar

    Why is it looking in TEMP? Try specifying complete path to composer.phar.

  2. 2 Posted by soullivaneuh on Apr 26, 2016 @ 10:24 AM

    soullivaneuh's Avatar

    Well, this is why I'm posting this issue. There is not reason to call it from TEMP.

    See my configuration file: https://github.com/Soullivaneuh/IsoCodesValidator/blob/b2b8b212f77cece8d2d5fa381a78e18f6af8b4f7/appveyor.yml

  3. Support Staff 3 Posted by Feodor Fitsner on Apr 28, 2016 @ 01:53 AM

    Feodor Fitsner's Avatar

    Have you tried playing with it via RDP: http://www.appveyor.com/docs/how-to/rdp-to-build-worker?

  4. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 02:06 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac