YunoHost-Apps / flarum_ynh

Flarum, an open-source forum software, packaged for YunoHost
https://flarum.org/
MIT License
19 stars 5 forks source link

While trying install chat extension #198

Closed tutle closed 2 years ago

tutle commented 2 years ago

Hello, I encounter this issue while intending install extension, strange, no ?

`Info from https://repo.packagist.org: #StandWithUkraine ./composer.json has been updated Running composer update xelson/flarum-ext-chat Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

tituspijean commented 2 years ago

What is the command you used to get this output?

(Code blocks are surrounded by triple backticks: ```)

tutle commented 2 years ago

I was trying install chat extension according to this procedure https://github.com/YunoHost-Apps/flarum_ynh#adding-extensions What I used :

sudo su
app=flarum
cd /var/www/$app
sudo -u $app php7.3 composer.phar require xelson/flarum-ext-chat

same result with .....require xelson/flarum-ext-chat:dev-master

tituspijean commented 2 years ago

I had added a comment on the other issue: you need to use php7.4, the README is not up-to-date.

tutle commented 2 years ago

How can I know the php used ? Dans webadmin/services, je n'ai que ça côté php In webadmin/services, on have this with php image

tituspijean commented 2 years ago

yunohost app info flarum -f | grep phpversion

tutle commented 2 years ago

answer is phpversion: 7.4

tutle commented 2 years ago

It works !!! thanks a lot