Sounds like your composer.lock file isnt correct. Run composer update locally, and push. Then try again.
Nov 30, 2021
6
Level 4
Deploy on Forge with DigitalOcean and GitHub
Hello! I want to deploy my laravel app on forge, this is my first time. So i follewed the istruction during the registration and so on.
So i've created an account on digital ocean and copied the api key.
Next, i created a new server on forge. Now, i'm trying to deploy my app from github, but i got this error:
Cloning into 'didattica.com'...
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- nette/schema is locked to version v1.2.1 and an update of this package was not requested.
- nette/schema v1.2.1 requires php >=7.1 <8.1 -> your php version (8.1.0) does not satisfy that requirement.
Problem 2
- nette/utils is locked to version v3.2.3 and an update of this package was not requested.
- nette/utils v3.2.3 requires php >=7.2 <8.1 -> your php version (8.1.0) does not satisfy that requirement.
Problem 3
- phpspec/prophecy is locked to version 1.13.0 and an update of this package was not requested.
- phpspec/prophecy 1.13.0 requires php ^7.2 || ~8.0, <8.1 -> your php version (8.1.0) does not satisfy that requirement.
Problem 4
- nette/schema v1.2.1 requires php >=7.1 <8.1 -> your php version (8.1.0) does not satisfy that requirement.
- league/config v1.1.1 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.2.1].
- league/config is locked to version v1.1.1 and an update of this package was not requested.
How can update those things on forge? What i'm missing?
Level 102
2 likes
Please or to participate in this conversation.