Giter VIP home page Giter VIP logo

Comments (3)

mvhirsch avatar mvhirsch commented on August 18, 2024

I just noticed I'm running an outdated composer version. After a quick selfupdate, still same error.

symfony composer --version
Composer version 2.7.1 2024-02-09 15:26:28
symfony composer recipes:update symfony/phpunit-bridge
  Updating recipe for symfony/phpunit-bridge...

There was an error applying the recipe update patch
file_get_contents(/tmp/_flex_recipe_update209836198665d3285f1abfb4.66793082/.git/objects/9e/7162f0b01d8778e236e79f4121e0926f68c194): Failed to open stream: No such file or directory

Update the recipe by re-installing the latest version with:
  composer recipes:install symfony/phpunit-bridge --force -v
unable to run /home/meh/bin/composer recipes:update symfony/phpunit-bridge

from flex.

mvhirsch avatar mvhirsch commented on August 18, 2024

Cloning the project into a new directory fixed that problem.

from flex.

mvhirsch avatar mvhirsch commented on August 18, 2024

Now my freshly cloned repository is failing with the same error. 😭

symfony composer recipe:update symfony/framework-bundle -vvv
Reading ./composer.json (/path/to/project/composer.json)
Loading config file /home/meh/.config/composer/config.json
Loading config file /home/meh/.config/composer/auth.json
Loading config file ./composer.json (/path/to/project/composer.json)
Checked CA file /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem: valid
Executing command (/path/to/project): 'git' 'branch' '-a' '--no-color' '--no-abbrev' '-v'
Reading /home/meh/.config/composer/composer.json
Loading config file /home/meh/.config/composer/config.json
Loading config file /home/meh/.config/composer/auth.json
Loading config file /home/meh/.config/composer/composer.json (/home/meh/.config/composer/composer.json)
Loading config file /home/meh/.config/composer/auth.json
Reading /home/meh/.config/composer/auth.json
Reading /path/to/project/vendor/composer/installed.json
Skipped loading "php-http/discovery" as it is not in config.allow-plugins
Reading /home/meh/.config/composer/vendor/composer/installed.json
Loading plugin PHPStan\ExtensionInstaller\Plugin (from phpstan/extension-installer)
Loading plugin Symfony\Flex\Flex (from symfony/flex)
Loading plugin Infection\ExtensionInstaller\Plugin (from infection/extension-installer, installed globally)
Running 2.7.1 (2024-02-09 15:26:28) with PHP 8.1.27 on Linux / 6.7.4-200.fc39.x86_64
Executing command (.): git status --porcelain --untracked-files=no
Reading /home/meh/.cache/composer/repo/flex/symfony-recipes-flex-main-index.json from cache
Reading /home/meh/.cache/composer/repo/flex/symfony-recipes-contrib-flex-main-index.json from cache
Downloading https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json using proxy (http://127.0.0.1:7080)
Downloading https://raw.githubusercontent.com/symfony/recipes-contrib/flex/main/index.json using proxy (http://127.0.0.1:7080)
[304] https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json
[304] https://raw.githubusercontent.com/symfony/recipes-contrib/flex/main/index.json
Reading ./composer.lock (/path/to/project/composer.lock)
Reading /home/meh/.cache/composer/repo/flex/symfony-recipes-flex-main-archived-symfony.framework-bundle-24eb45d1355810154890460e6a05c0ca27318fe7.json from cache
Downloading https://raw.githubusercontent.com/symfony/recipes/flex/main/archived/symfony.framework-bundle/24eb45d1355810154890460e6a05c0ca27318fe7.json using proxy (http://127.0.0.1:7080)
[304] https://raw.githubusercontent.com/symfony/recipes/flex/main/archived/symfony.framework-bundle/24eb45d1355810154890460e6a05c0ca27318fe7.json
Reading /home/meh/.cache/composer/repo/flex/symfony-recipes-flex-main-symfony.framework-bundle.5.4.json from cache
Downloading https://raw.githubusercontent.com/symfony/recipes/flex/main/symfony.framework-bundle.5.4.json using proxy (http://127.0.0.1:7080)
[304] https://raw.githubusercontent.com/symfony/recipes/flex/main/symfony.framework-bundle.5.4.json
  Updating recipe for symfony/framework-bundle...

Executing command (.): git check-ignore 'config/bundles.php' 'config/bootstrap.php' 'config/packages/cache.yaml' 'config/packages/framework.yaml' 'config/packages/test/framework.yaml' 'config/preload.php' 'config/routes/dev/framework.yaml' 'config/services.yaml' 'public/index.php' 'src/Controller/.gitignore' 'src/Kernel.php' '.env' 'phpunit.xml.dist' 'composerjson' '.gitignore'
Executing command (.): git rev-parse --show-prefix
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git init
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git config commit.gpgsign false
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git config user.name "Flex Updater"
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git config user.email ""
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git add -A
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git commit -m "original files"
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'config/bundles.php'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'config/packages/cache.yaml'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'config/packages/framework.yaml'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'config/preload.php'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'config/services.yaml'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'public/index.php'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'src/Controller/.gitignore'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object 'src/Kernel.php'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git hash-object '.env'
Executing command (/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271): git rev-parse --absolute-git-dir
There was an error applying the recipe update patch
file_get_contents(/tmp/_flex_recipe_update98652119665d47158a92aa3.84155271/.git/objects/07/3ac447764f738945058d10777c8858bb3bf3fe): Failed to open stream: No such file or directory

from flex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.