Comments (3)
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.
Cloning the project into a new directory fixed that problem.
from flex.
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)
- Renaming of docker-compose.yaml in compose.yaml : postgresql does'nt work anymore HOT 8
- Unclear problem description when Flex blocks package installation (by `extra.symfony.require` rule) HOT 1
- [Feature] Recipe endpoint for private recipe should not be in the project but in the bundle
- Missing tag for version v1.21.5 ? HOT 3
- Remove importmap entries when uninstalling a package
- ComposerScriptsConfigurator can break "composer.json" filename in patch
- Symfony Flex 1.8.5 is not compatible with Composer 2.7.0
- Symfony Flex fails when using Composer 2.7.0, running as root HOT 7
- PackageJsonSynchronizer is not fail safe HOT 1
- Invalid version string "master.9999999" HOT 2
- Make packages.json synchronization optional
- recipe_template_relative processing is broken for gitlab private recipe
- Remove version tag in compose file as marked as obsolete by lastest docker compose version HOT 3
- Allow organize private recipes in subdirectories HOT 5
- Feature request: Update recipes non interactive
- Suggest adding management of the compose.yml file in addition to docker-compose.yml HOT 1
- Optimized key management to avoid duplication
- Support for local stored recipe files
- Resolving dependencies fails for symfony/psr-http-message-bridge after change of recipe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flex.