PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Issue deploying Wave to Digital Ocean

Solved
keegenk

Apr 24th, 2023 03:58 PM

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

superdev

Apr 24th, 2023 07:30 PM

Hi, You need to use PHP 8.2! Please let me know if you have any further questions.

Report
1
bobbyiliev

Apr 25th, 2023 09:57 AM

Best Answer

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

Report
1