I just started using laravel to create my website. I try to install windows valet to help me develop my website. I use windows.
But when I try to install using
composer global require cretueusebiu/valet-window
command, several errors appeared :
- cretueusebiu/valet-windows[v0.1.0, ..., v0.1.2] require symfony/process ^3.0 -> found symfony/process[v3.0.0, ..., v3.4.47] but the package is fixed to v7.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- cretueusebiu/valet-windows[v0.1.3, ..., v0.1.8, v1.0.0, ..., v1.0.8, 2.0.3, ..., 2.0.14] require symfony/process ~2.7|~3.0 -> found symfony/process[v2.7.0, ..., v2.8.52, v3.0.0, ..., v3.4.47] but the package is fixed to v7.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- cretueusebiu/valet-windows[2.0.15, ..., 2.1.1] require symfony/process ~2.7|~3.0|~4.0 -> found symfony/process[v2.7.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.44] but the package is fixed to v7.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- cretueusebiu/valet-windows[2.1.2, ..., 2.1.5] require symfony/process ~2.7|~3.0|~4.0|~5.0 -> found symfony/process[v2.7.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.44, v5.0.0, ..., v5.4.39] but the package is fixed to v7.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- cretueusebiu/valet-windows[2.2.0, ..., 2.4.1] require symfony/process ^4.0|^5.0 -> found symfony/process[v4.0.0, ..., v4.4.44, v5.0.0, ..., v5.4.39] but the package is fixed to v7.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- cretueusebiu/valet-windows[2.5.0, ..., 2.5.2] require symfony/process ^4.0|^5.0|^6.0 -> found symfony/process[v4.0.0, ..., v4.4.44, v5.0.0, ..., v5.4.39, v6.0.0, ..., v6.4.7] but the package is fixed to v7.0.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires cretueusebiu/valet-windows * -> satisfiable by cretueusebiu/valet-windows[v0.1.0, ..., v0.1.8, v1.0.0, ..., v1.0.8, 2.0.3, ..., 2.5.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require cretueusebiu/valet-windows:*" to figure out if any version is installable, or "composer require cretueusebiu/valet-windows:^2.1" if you know which you need.
I tried to run the option with all dependencies, but the error still persist. I need help
New contributor
Losbay is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.