Issue deploying Wave to Digital Ocean
Hey, I've been following your Tallstack YT tutorial and now wanting to deploy to digital ocean, but getting an error. Any help/guidance is appreciated
-04-24 22:53:32] │ ! > Problem 1
[2023-04-24 22:53:32] │ ! > - Root composer.json requires lcobucci/clock 3.1.0 -> satisfiable by lcobucci/clock[3.1.0].
[2023-04-24 22:53:32] │ ! > - lcobucci/clock 3.1.0 requires php ~8.2.0 -> found php[7.1.33, ..., 7.4.33, 8.0.0, ..., 8.1.18] but it does not match the constraint.
[2023-04-24 22:53:32] │ ! >
[2023-04-24 22:53:32] │ ! > Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
[2023-04-24 22:53:32] │ !
[2023-04-24 22:53:32] │ ! For reference, the following runtimes are currently available:
[2023-04-24 22:53:32] │ !
[2023-04-24 22:53:32] │ ! PHP: 8.1.18, 8.1.17, 8.1.16, 8.1.15
Hi there,
Indeed as @superdev mentioned it looks like that your composer lock file is set to PHP 8.2, mostlikely your local dev environment is based on PHP 8.2
Two options here would be:
- As @superdev mentioned, you can install PHP 8.2 on your DigitalOcean server
- On your local dev environment install PHP 8.1, delete the composer.lock file and run
composer update
to update your composer lock file for PHP 8.1
Hope that this helps!
Best,
Bobby















