Я сталкиваюсь со следующей ошибкой при создании нового проекта Symfony с использованием пакета symfony/symfony в композиторе:
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
In PathRepository.php line 163:
The 'url' supplied for the path (src/Symfony/Contracts) repository does not exist
Я не могу ни оценить сообщение об ошибке, ни исправить его. Я понятия не имею, где находится PathRepository.php, и изменение версий Contracts в композиторе.json бесполезно. Есть идеи, пока это не работает из коробки? Не предлагая другой пакет или установщик (например, symfony-cli).
Я запустил композитор create-project symfony/symfony starter-app-symfony и ожидал:
Loading composer repositories with package information
Updating dependencies
Installing dependencies from lock file (including require-dev)
Package operations: xx installs, xx updates, xx removals
xx package suggestions were added by new dependencies, use 'composer suggest' to see details.
Generating optimized autoload files
xx packages you are using are looking for funding.
Use the 'composer fund' command to find out more!
No security vulnerability advisories found
Подробнее здесь: https://stackoverflow.com/questions/783 ... g-composer