I was able to install extensions two days ago, but I don't know why I am not being able to install now. I have 1GB memory_limit but composer is saying memory limit issue.

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.[globallo@r041 webmatrices.com]$ composer require zeokat/flarum-followlinks
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2

Make sure you're using composer 2: it works a lot more efficiently than composer 1.

    askvortsov I don't have permissions to upgrade it. I am talking to the hosting provider. Currently, what can I do and what's the minimum memory limit required sir?

      Bishwas-py what's the minimum memory limit required

      That really depends on how many extensions you have, how many dependencies you have, etc. Should be safe with 2-3GB with composer 1, much less with composer 2.

      You should be able to download a phar executable file and run that instead of the globally installed composer.

        askvortsov I have increased memomry limit to 2GB now and I am getting this issue brother.

        > ^C
        [my_username@r041 webmatrices.com]$ composer remove kyrne/shout
        Dependency "flarum/core" is also a root requirement, but is not explicitly whitelisted. Ignoring.
        Loading composer repositories with package information
        Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
        Updating dependencies (including require-dev)
        Your requirements could not be resolved to an installable set of packages.
        
          Problem 1
            - Installation request for minishlink/web-push v5.2.5 -> satisfiable by minishlink/web-push[v5.2.5].
            - minishlink/web-push v5.2.5 requires guzzlehttp/guzzle ^6.2 -> satisfiable by guzzlehttp/guzzle[6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev] but these conflict with your requirements or minimum-stability.
          Problem 2
            - php-http/guzzle6-adapter v2.0.1 requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev] but these conflict with your requirements or minimum-stability.
            - php-http/guzzle6-adapter v2.0.0 requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev] but these conflict with your requirements or minimum-stability.
            - nikovonlas/flarum-ext-web-push v0.1.0-beta.9 requires php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0, v2.0.1].
            - Installation request for nikovonlas/flarum-ext-web-push v0.1.0-beta.9 -> satisfiable by nikovonlas/flarum-ext-web-push[v0.1.0-beta.9].
        
        
        Removal failed, reverting ./composer.json to its original content.

          Bishwas-py minishlink web push is only needed for my pwa extension, if you're using nikonlas web push, you don't need minishlink.

            askvortsov I am not able to install anything. WHat's the solution?

            [my_username@r041 webmatrices.com]$ composer require clarkwinkelmann/flarum-ext-mailing
            Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
            Using version ^0.4.0 for clarkwinkelmann/flarum-ext-mailing
            ./composer.json has been updated
            Loading composer repositories with package information
            Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
            Updating dependencies (including require-dev)
            Your requirements could not be resolved to an installable set of packages.
            
              Problem 1
                - The requested package kyrne/shout (locked at 0.2.9, required as ^0.2.13) is satisfiable by kyrne/shout[0.2.9] but these conflict with your requirements or minimum-stability.
              Problem 2
                - Installation request for minishlink/web-push v5.2.5 -> satisfiable by minishlink/web-push[v5.2.5].
                - minishlink/web-push v5.2.5 requires guzzlehttp/guzzle ^6.2 -> satisfiable by guzzlehttp/guzzle[6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev] but these conflict with your requirements or minimum-stability.
              Problem 3
                - php-http/guzzle6-adapter v2.0.1 requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev] but these conflict with your requirements or minimum-stability.
                - php-http/guzzle6-adapter v2.0.0 requires guzzlehttp/guzzle ^6.0 -> satisfiable by guzzlehttp/guzzle[6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev] but these conflict with your requirements or minimum-stability.
                - nikovonlas/flarum-ext-web-push v0.1.0-beta.9 requires php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[v2.0.0, v2.0.1].
                - Installation request for nikovonlas/flarum-ext-web-push v0.1.0-beta.9 -> satisfiable by nikovonlas/flarum-ext-web-push[v0.1.0-beta.9].
            
            
            Installation failed, reverting ./composer.json to its original content.

              askvortsov Here

              {
                  "name": "flarum/flarum",
                  "description": "Delightfully simple forum software.",
                  "type": "project",
                  "keywords": [
                      "forum",
                      "discussion"
                  ],
                  "homepage": "https://flarum.org/",
                  "license": "MIT",
                  "authors": [
                      {
                          "name": "Franz Liedke",
                          "email": "franz@develophp.org"
                      },
                      {
                          "name": "Daniel Klabbers",
                          "email": "daniel@klabbers.email",
                          "homepage": "https://luceos.com"
                      },
                      {
                          "name": "David Sevilla Martin",
                          "email": "me+flarum@datitisev.me",
                          "homepage": "https://datitisev.me"
                      },
                      {
                          "name": "Clark Winkelmann",
                          "email": "clark.winkelmann@gmail.com",
                          "homepage": "https://clarkwinkelmann.com"
                      },
                      {
                          "name": "Matthew Kilgore",
                          "email": "matthew@kilgore.dev"
                      },
                      {
                          "name": "Alexander (Sasha) Skvortsov",
                          "email": "askvortsov@flarum.org"
                      }
                  ],
                  "support": {
                      "issues": "https://github.com/flarum/core/issues",
                      "source": "https://github.com/flarum/flarum",
                      "docs": "https://flarum.org/docs/"
                  },
                  "require": {
                      "andre-pullinen/ads": "^0.2.8",
                      "askvortsov/flarum-pwa": "^2.0",
                      "clarkwinkelmann/flarum-ext-bookmarks": "^0.1.2",
                      "clarkwinkelmann/flarum-ext-mailing": "^0.4.0",
                      "clarkwinkelmann/flarum-ext-popular-discussion-badge": "^0.2.2",
                      "flarum/approval": "^0.1.0",
                      "flarum/bbcode": "^0.1.0",
                      "flarum/core": "^0.1.0",
                      "flarum/emoji": "^0.1.0",
                      "flarum/flags": "^0.1.0",
                      "flarum/lang-english": "^0.1.0",
                      "flarum/likes": "^0.1.0",
                      "flarum/lock": "^0.1.0",
                      "flarum/markdown": "^0.1.0",
                      "flarum/mentions": "^0.1.0",
                      "flarum/nicknames": "^0.1.0",
                      "flarum/pusher": "^0.1.0",
                      "flarum/statistics": "^0.1.0",
                      "flarum/sticky": "^0.1.0",
                      "flarum/subscriptions": "^0.1.0",
                      "flarum/suspend": "^0.1.0",
                      "flarum/tags": "^0.1.0",
                      "fof/analytics": "^0.11.0",
                      "fof/best-answer": "^0.3.2",
                      "fof/drafts": "^0.3.1",
                      "fof/follow-tags": "^0.6.4",
                      "fof/formatting": "^0.3.1",
                      "fof/gamification": "^0.4.2",
                      "fof/links": "^0.5.0",
                      "fof/masquerade": "^0.3.6",
                      "fof/merge-discussions": "^0.5.1",
                      "fof/nightmode": "^0.7.1",
                      "fof/oauth": "^0.2.1",
                      "fof/polls": "^0.3.2",
                      "fof/pretty-mail": "^0.3.0",
                      "fof/share-social": "^0.3.0",
                      "fof/sitemap": "^0.6.0",
                      "fof/user-bio": "^0.4.1",
                      "fof/user-directory": "^0.5.0",
                      "fof/webhooks": "^0.4.1",
                      "guzzlehttp/guzzle": "^7.2",
                      "ianm/html-head": "^0.1.1",
                      "kyrne/shout": "^0.2.13",
                      "matteocontrini/flarum-imgur-upload": "^3.5",
                      "michaelbelgium/flarum-discussion-views": "^5.0",
                      "minishlink/web-push": "v5.2.5",
                      "nikovonlas/flarum-ext-web-push": "v0.1.0-beta.9",
                      "v17development/flarum-seo": "^1.5",
                      "zeokat/flarum-followlinks": "^0.1.0",
                      "zerosonesfun/elint": "^3.2"
                  },
                  "config": {
                      "preferred-install": "dist",
                      "sort-packages": true
                  },
                  "minimum-stability": "beta",
                  "prefer-stable": true
              }

                Bishwas-py Essentially, looks like nikovonlas/flarum-ext-web-push conflicted with askvortsov/flarum-pwa + minishlink/web-push, you only need one of the 2 sets.