ucan-lab / docker-laravel

🐳 Build a simple laravel development environment with Docker Compose.
https://dev.to/ucan_lab/how-to-install-and-set-up-laravel-s-local-development-environment-with-docker-compose-5bcf
MIT License
1.18k stars 379 forks source link

running "make install-recommend-packages" gives a dependencies error #199

Closed firecentaur closed 2 years ago

firecentaur commented 2 years ago

Hi there, after running: make install-recommend-packages

I get this error:

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/laravel is present at version 1.0.0+no-version-set and cannot be modified by Composer
    - roave/security-advisories dev-master conflicts with laravel/laravel <=9.1.8.
    - Root composer.json requires roave/security-advisories dev-master -> satisfiable by roave/security-advisories[dev-master].

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
make: *** [Makefile:22: install-recommend-packages] Error 2

on PopOs 22.04

firecentaur commented 2 years ago

UPDATE: If I remove "docker compose exec app composer require --dev roave/security-advisories:dev-master" then the error goes away.