kwartzlab / kos-base

KwartzlabOS
4 stars 1 forks source link

Update `composer.lock` file blocking new installations #65

Closed azend closed 1 month ago

azend commented 1 month ago
 => ERROR [stage-0 7/8] RUN composer install --prefer-dist                                                                                                        0.4s
------
 > [stage-0 7/8] RUN composer install --prefer-dist:
#0 0.391 Cannot create cache directory /home/app/.composer/cache/files/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
#0 0.400 Installing dependencies from lock file (including require-dev)
#0 0.405 Verifying lock file contents can be installed on current platform.
#0 0.424 Your lock file does not contain a compatible set of packages. Please run composer update.
#0 0.424
#0 0.424   Problem 1
#0 0.424     - nette/schema is locked to version v1.2.3 and an update of this package was not requested.
#0 0.424     - nette/schema v1.2.3 requires php >=7.1 <8.3 -> your php version (8.3.6) does not satisfy that requirement.
#0 0.424   Problem 2
#0 0.424     - nette/utils is locked to version v4.0.0 and an update of this package was not requested.
#0 0.424     - nette/utils v4.0.0 requires php >=8.0 <8.3 -> your php version (8.3.6) does not satisfy that requirement.
#0 0.424   Problem 3
#0 0.424     - nette/schema v1.2.3 requires php >=7.1 <8.3 -> your php version (8.3.6) does not satisfy that requirement.
#0 0.424     - league/config v1.2.0 requires nette/schema ^1.2 -> satisfiable by nette/schema[v1.2.3].
#0 0.424     - league/config is locked to version v1.2.0 and an update of this package was not requested.
#0 0.424
------
failed to solve: executor failed running [/bin/sh -c composer install --prefer-dist]: exit code: 2
azend commented 1 month ago

Fixed by updating the composer.lock file in the repo and adding instructions to the readme if the lock file becomes horribly out of date.