monica
monica copied to clipboard
Unable to install MonicaHQ 3.4.0 on Lubuntu 20.04
Hello all, I am struggling with MonicaHQ installation on my Lubuntu 20.04 machine following this guideline: https://github.com/monicahq/monica/blob/master/docs/installation/providers/ubuntu.md/. The system is a fresh installation.
The first issue I faced was to install yarn with npm (and went with apt instead).
My main issues is in step 3 composer install --no-interaction --no-dev
I receive the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for jean85/pretty-package-versions 2.05 -> satisfiable by jean85/pretty-package-versions[2.0.5].
- jean85/pretty-package-versions 2.0.5 requires composer-runtime-api ^2.0.0 -> no matching package found. Problem 2
- jean85/pretty-package-versions 2.0.5 requires composer-runtime-api ^2.0.0 -> no matching package found.
- sentry/sentry 3.3.3 requires jean85/pretty-package-versions ^1.5|^2.0.1 -> satisfiable by jean85/pretty-package-versions[2.0.5]
- Installation request for sentry/sentry 3.3.3 -> satisfiable by sentry/sentry[3.3.3].
Any guidance is appreciated!
So what is your PHP version, what is your composer version?
Look like you using old composer version, please upgrade to newer composer
sudo composer self-update --2
Adding the composer flag --ignore-platform-reqs
might fix this. See this question and this blog post