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

Error during Ci/CD #100

Open
beeyev opened this issue Jun 16, 2022 · 1 comment
Open

Error during Ci/CD #100

beeyev opened this issue Jun 16, 2022 · 1 comment

Comments

@beeyev
Copy link

beeyev commented Jun 16, 2022

Do you have any Ideas, why i get this error?

> pre-autoload-dump: Vaimo\ComposerPatches\Plugin->postInstall
Processing patches configuration
  - Removing league/fractal (0.19.2)
Executing async command (CWD): rm -rf '/builds/builder/backend/vendor/league/fractal'
  - Downloading league/fractal (0.19.2)
Downloading https:/api.github.com/repos/thephpleague/fractal/zipball/06dc15f6ba38f2dde2f919d3095d13b571190a7c
  - Installing league/fractal (0.19.2): Extracting archive
Executing async command (CWD): '/usr/bin/unzip' -qq '/builds/builder/backend/vendor/composer/tmp-d28b9e921dd7aa5a20cb8b543f1f5182' -d '/builds/builder/backend/vendor/composer/5915b398'
Executing command (CWD): rm -rf '/builds/builder/backend/vendor/composer/5915b398'
Executing command (CWD): rm -rf '/builds/builder/backend/vendor/league/fractal'
[302] https:/api.github.com/repos/thephpleague/fractal/zipball/06dc15f6ba38f2dde2f919d3095d13b571190a7c
Following redirect (1) https:/codeload.github.com/thephpleague/fractal/legacy.zip/06dc15f6ba38f2dde2f919d3095d13b571190a7c
[200] https:/codeload.github.com/thephpleague/fractal/legacy.zip/06dc15f6ba38f2dde2f919d3095d13b571190a7c
  - Applying patches for league/fractal (1)
    ~ laravel/laravel: patches/thephpleague/fractal/ReturnTypeWillChange.patch [NEW]
      fix ReturnTypeWillChange)
      Executing command (/builds/builder/backend/vendor/league/fractal): which patch
      The provided cwd "/builds/builder/backend/vendor/league/fractal" does not exist.
      #0 phar://usr/local/bin/composer/vendor/symfony/process/Process.php(252): Symfony\Component\Process\Process->start(Object(Closure), Array)
      #1 phar://usr/local/bin/composer/src/Composer/Util/ProcessExecutor.php(128): Symfony\Component\Process\Process->run(Object(Closure))
@beeyev
Copy link
Author

beeyev commented Jun 17, 2022

I believe I found what causes the bug,
This is because I used no-cache flag during composer install composer install --no-cache
And I believe this is not a correct behavior for the patcher.

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