# Flarum : Adding extension with composer dont work

**URL:** <https://forum.yunohost.org/t/flarum-adding-extension-with-composer-dont-work/18376>\
**Category:** Support apps\
**Tags:** bug, english\
**Created:** [January 5, 2022, 5:48pm UTC](https://forum.yunohost.org/t/flarum-adding-extension-with-composer-dont-work/18376 "2022-01-05T17:48:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fadelidou](https://forum.yunohost.org/user_avatar/forum.yunohost.org/fadelidou/32/4496_2.png) [@fadelidou](https://forum.yunohost.org/u/fadelidou)\
**Post date:** [January 5, 2022, 5:48pm UTC](https://forum.yunohost.org/t/flarum-adding-extension-with-composer-dont-work/18376/1 "2022-01-05T17:48:51Z")

</div>

Always have errors while trying to instasll extensions. I’m on lastest Flarum and latest Yunohost builds.

@tituspijean

Here the error:

root@3ckm:/var/www/flarum# sudo -u $app php7.3 composer.phar require -W the-turk/flarum-stargazing-theme  
Using version ^0.1.1 for the-turk/flarum-stargazing-theme  
./composer.json has been updated  
Running composer update the-turk/flarum-stargazing-theme --with-all-dependencies  
Loading composer repositories with package information  
Updating dependencies  
Your requirements could not be resolved to an installable set of packages.

Problem 1  
- Root composer.json requires the-turk/flarum-stargazing-theme ^0.1.1 → satisfiable by the-turk/flarum-stargazing-theme[0.1.1].  
- the-turk/flarum-stargazing-theme 0.1.1 requires flarum/core ^0.1.0-beta.10 → found flarum/core[v0.1.0-beta.10, …, v0.1.0-beta.16] but it does not match your minimum-stability.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.  
root@3ckm:/var/www/flarum#

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [January 5, 2022, 7:04pm UTC](https://forum.yunohost.org/t/flarum-adding-extension-with-composer-dont-work/18376/2 "2022-01-05T19:04:52Z")

</div>

This plugin/theme is abandoned, outdated, and uncompatible with the current version of Flarum. cf. [Stargazing Theme - Flarum Community](https://discuss.flarum.org/d/22694-stargazing-theme)

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [February 4, 2022, 7:05pm UTC](https://forum.yunohost.org/t/flarum-adding-extension-with-composer-dont-work/18376/3 "2022-02-04T19:05:23Z")

</div>

Closed on February 4, 2022, 7:05pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
