Skip to content
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

Applying patch on windows failed - tmp directory #89

Closed
lcube45 opened this issue Dec 8, 2016 · 1 comment
Closed

Applying patch on windows failed - tmp directory #89

lcube45 opened this issue Dec 8, 2016 · 1 comment

Comments

@lcube45
Copy link

lcube45 commented Dec 8, 2016

I'm having an issue with current configuration :

  • windows 10
  • composer 1.2.4
  • composer-patches 1.6.0

Added patches to my composer.json and when updating or installing, i'm getting the following error :

Patch could not be applied : could not be open, no such file or directory...

After some debugging, problem is in Patches.php line 346 while generating unique id filename...

Adding a real existing path solved the problem for me.

Hope this helps !

ps : i know windows sucks !

@lcube45
Copy link
Author

lcube45 commented Dec 9, 2016

Why not using composer cache dir or other global install directory ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant