Questions tagged [composer]

Composer is a tool to manage dependencies in PHP. It supports fetching dependencies from different sources like Git, SVN, PEAR, the local filesystem, etc. and also offers automated autoloading support.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Magento 2 - Every module as Git Repository, bad?

Our online business operates on a Magento 2.4.x installation which now has nearly 100 in-house modules that deliver features and functionality specific to our business. Every module has its own Git ...
0
votes
0answers
9 views

unable to update extension from composer

I am trying to update one of my payment gateway extension through composer and the command is composer update razorpay/update But I am getting the below errors Problem 1 - guzzlehttp/guzzle 7.2.0 ...
0
votes
0answers
23 views

Transport Exception : Content-Length mismatch Installing Magento 2.3.6

I have to install the magento 2.3.6 on my vagrant VM it actually already working on other VMs but today I have created another VM and start installing the magento2 but got this weird error at some ...
0
votes
1answer
7 views

I got issue regarding memory limit, I have changed php.ini files. still got same error?

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors. {"messages":{"error":[{"code":500,&...
0
votes
1answer
14 views

Composer update failing with Root package 'magento/project-community-edition' cannot require itself in its composer.json

If I install a completely fresh version of Magento in an empty directory, say 2.3.3, using the command: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-...
0
votes
0answers
12 views

Magento 2 - Composer update does not fully update core

I am on the latest version as of 2.4.1. There is a bug in my shop, I noticed that a file in vendor/magento is responsible for it (vendor/magento/module-newsletter/Model/Subscriber.php). I noticed that ...
0
votes
2answers
20 views

Magento 2 composer issue with bitbucket pipelines

I made a bitbucket pipeline and I would like to do some deployments, but my pipeline got stuck with a composer issue. This is the error message from the pipeline: The 'https://repo.magento.com/...
0
votes
0answers
9 views

How to create an artifact from a module in app/code to transfer to vendor

I heard that there is a way to archive a module with its description in the composer as an artifact. After that, during the composer install, the module will be added automatically to the vendor. Tell ...
0
votes
1answer
19 views

Facing issue in composer installation (EE version)

facing issue on composer install for EE version. any solution? Is there any way to change the Magento repo credential from the composer? I have configured one & save it in composer, I need to re-...
0
votes
1answer
114 views

Magento 2.4.1 setup:install problem : “the default website isn't defined. Set the website and try again.”

I downloaded magento 2-2.4.1.zip. Unzipped it to /var/www/html/magento24/ - my local folder for local domain http://magento24.local configured by nginx on ubuntu20.04. I had done composer update or ...
0
votes
0answers
10 views

How to make an artifact from a module instead of installing in app/code?

I have a module from a payment system. I added them to app/code. But now, to make a simple rewrite of the module template, I need to do more than just copy it if the module was in the vendor. Tell me ...
0
votes
2answers
42 views

Could not find a matching version of package

I have uploaded my magento 2 module to GitHub, and published my private module to https://packagist.com/. Now module published successfully as below. And my composer as below { "name": &...
0
votes
1answer
36 views

I am trying to install facebook php business sdk but i am getting below Fatal error

I am trying to install facebook php business sdk but I am getting below Fatal error. I used the below command composer require facebook/php-business-sdk But I am below fatal error Fatal error: Allowed ...
0
votes
1answer
12 views

Why isn't a package showing showing for update?

Using composer I would like to update xtento/productexport I am on version 2.9.0 and the most recent version is 2.14.4. When I run composer outdated it doesn't show that it needs an update. In order ...
0
votes
0answers
22 views

Magento 2 Error During Update Module Via Composer

magento/product-community-edition is locked to version 2.4.1 and an update of this package was not requested. - magento/product-community-edition 2.4.1 requires magento/module-configurable-product 100....
0
votes
2answers
42 views

Proper environment for magento2-2.3 on windows 10

I'm working on Win 10 OS. And am going to install magento2-2.3 on my local computer. Which xampp version and composer version should I use?
1
vote
1answer
517 views

Downgrade composer version 2 to 1

The "magento/magento-composer-installer" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). ...
0
votes
0answers
12 views

How to interact with APCu?

Magento DevDocs recommends to use APCu. I have enabled it and it works somehow, but I don't why and, and when to do what. I use already apc.php. Can anyone share some knowledge regarding APCu and ...
1
vote
1answer
79 views

Installation with composer fails

Trying to install M2 using Composer with the following: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /var/www/m2 PHP: PHP 7.4.12 (cli) (built: ...
0
votes
1answer
37 views

Updating Module Via Composer will NOT Update Module?

When Updating Module Via Composer it will not Update Module on my localhostx? When I put this line. I get this error on my local host. composer require "route/route-m2" Could not find a ...
0
votes
1answer
29 views

Composer update fail: [UnexpectedValueException]

Magento 2 Composer error when trying to install modules [UnexpectedValueException] https://magento.stackexchange.com/a/316793/70292 During composer update command UnexpectedValueException was occur. ...
1
vote
1answer
556 views

Magento v2.3.5 to v2.3.6 update, composer version issue

I believe this is due to the recent update to composer, but would appreciate any thoughts... Trying to update Magento from 2.3.5 to 2.3.6, having just updated to the latest version of composer (2.0.4) ...
0
votes
0answers
13 views

Composer error in magento 2.4

Module 'Magento_ComposerRootUpdatePlugin': Running data recurring...Reading /var/www/structube/composer.json Loading config file /var/www/structube/composer.json Failed to initialize global composer: ...
1
vote
1answer
69 views

Installation failed, reverting ./composer.json to its original content. Authentication always fail even though the credential are correct in magento 2

I am alwaays getting the below error when running composer require like that. I am currently giving the authentication keys but still it displays error. Please help Installation failed, reverting ./...
0
votes
0answers
33 views

Magento admin dashboard showing after login

My admin dashboard after logging in is showing the following error: does any one know the reason behind it or how can we solve it? I have recently installed this module through composer I have ...
0
votes
1answer
58 views

Error Upgrading from Magento 2.3.4 to Magento 2.4.1

I tried to upgrade from Magento 2.3.4 to Magento 2.4.1 using these commands: composer require magento/product-community-edition=2.4.0 --no-update composer update then i got the following error like ...
0
votes
0answers
27 views

Composer install magento: Class PayPal\Braintree\Console\VaultMigrate does not exist

we are installing magento and seeing Composer install magento: Class PayPal\Braintree\Console\VaultMigrate does not exist Braintree is neither required neither replaced ... How can it go missing? Or ...
0
votes
2answers
41 views

Magento 2 Composer error - The contents from the “/vendor/magento/module-media-gallery-synchronization-api/etc/module.xml” file can't be read

We upgraded to Magento 2.4 and exec recompile All is OK no warning Only when I open the frontend I see the error below Magento 2 Composer error - The contents from the "/vendor/magento/module-...
0
votes
1answer
37 views

unable to remove patch from composer.json

I have to update extension https://i.imgur.com/SgHq8YK.png but it has an error, Can I remove it manually? I think it cant be good practice. how can I safe remove it? dockergento composer remove iwd/...
0
votes
0answers
112 views

InvalidArgumentException during Magento upgrade via Composer [Package is not installed: magento/project-community-edition-2.4.0.0]

We are seeing InvalidArgumentException during Magento upgrade via Composer [InvalidArgumentException] Package is not installed: magento/project-community-edition-2.4.0.0 It seems to be related to ...
0
votes
1answer
66 views

Magento 2 upgrade from 2.3.5 to 2.4 not working via composer - php is already at version 7.4 before the upgrade!

Situation: Magento 2 upgrade from 2.3.5 to 2.4 not working via composer - php is already at version 7.4 before the upgrade! These commands executed fine COMPOSER_MEMORY_LIMIT=8G composer remove ...
0
votes
0answers
52 views

M2 Composer Update Abandoned Projects // “ Package XX is abandoned, you should avoid using it”

So when running composer update we are seeing more and more of "abandoned" projects. However we did not manually add this code in composer, it is often a dependency of some other program. ...
0
votes
0answers
12 views

wyomind install vendor folder in magento 2.3

How to Install Wyomind Elastic Search on vendor folder in magento 2.3 composer thorw please advance thanks for help
1
vote
2answers
610 views

Magento 2.4 - Composer php 7.4 error magento/magento2-functional-testing-framework

We run Magento 2.4 with php7.4, that should be supported. But we get the following error when we try to update a module using composer: magento/magento2-functional-testing-framework 2.6.5 requires php ...
1
vote
2answers
110 views

Class NewRelic\Monolog\Enricher\Handler does not exist

I just reinstalled magento using composer install Then I tried to run this command php bin/magento setup:upgrade and also tried running other setup commands. I got the following error: Class NewRelic\...
0
votes
0answers
20 views

Magento 2.3.2 version upgrade to 2.4.0

I am afraid of upgrading my magento version because my store is all setup. My php version is 7.3.20 and I thinking of upgrading to magento version 2.4.0 composer require magento/product-community-...
0
votes
0answers
19 views

Command “show” failed: Package authorizenet/magento-module-authorizenet not found in /var/www/html/composer.json

Im new in magento, i have this error when I enter in System -> Web Setup Wizard -> Extension Manager My error text: Command "show" failed: Package authorizenet/magento-module-...
0
votes
0answers
14 views

Magento 2 Composer install error

The following are causeing PHP version error plz suggest solution
0
votes
0answers
409 views

How to install “authorizenet/magento-module-authorizenet” on Magento 2.4?

There is no Authorize.net payments in Magento 2.4 by default. Magento recommends to "use the official extension from marketplace instead". 'Official extension' is compatible with Magento ...
0
votes
0answers
51 views

My Magento Extension manager gets stuck at “Please wait”, What do I do?

Initially when I accessed the extension manager, I had this error Command "show" failed: GitHub API limit (0 calls/hr) is exhausted, could not fetch https://api.github.com/repos/splashlab/...
1
vote
1answer
405 views

Magento 2.3.4 to 2.3.5-p2 upgrade composer google shopping error. Any ideas?

I am trying to upgrade Magento 2.3.4 to 2.3.5-p2 but i am facing a composer error regarding Google shopping. First i upgraded from 2.3.4 to 2.3.5-p1 without any problems, but when trying to upgrade ...
0
votes
0answers
26 views

Magento 2 Why can't I change extension repository with composer?

I'm trying to install an extension using composer, before I can install it directly with require, I need to configure the repository of the extension with this command composer config repositories....
0
votes
1answer
17 views

incorrect magento 2 version being installed on composer update

I'm trying to install Magento 2.3.3 but for some reasons it keeps on installing 2.4.0. I tried clearing the composer cache and reinstalling everything(delete vendor and composer.lock). but it always ...
0
votes
1answer
80 views

Magento 2 - Install extension using composer error - Plugin class Searchanise\SearchAutocomplete\Plugins\Toolbar doesn't exist

After install extension using composer, extension installed successfully but not visible on back-end how to solve this issue. Screenshot : extension : https://marketplace.magento.com/searchanise-...
0
votes
2answers
21 views

Magento 2 - Composer require “extension” installation error

Can't able to install extension using composer,
0
votes
1answer
77 views

Magento 2.3.4 - How to properly remove or uninstalled Temando extension including tables from database?

I have faced lot issue based on this extension, i can't able to remove by using following cmd, composer remove Temando_Shipping Now i just disabled, how to remove properly?
0
votes
1answer
562 views

Module not found after composer require

im using a fresh magento install from Ionos 1&1 (CentOS 8), and just after doing composer require, I test if the module installed correctly, but it says it cant be found. Here is the output: [root@...
1
vote
1answer
783 views

Magento 2.4 error when try to install sample data

I've installed Magento 2.4 (fresh) with the Composer. Installation work fine (frontend and admin) But when try to install demo data using manual get an error. $ magento deploy:mode:show ...
1
vote
2answers
141 views

Magento 2, How to make users to install the plugin via composer

In my module, I have created a composer.json file with this code and pushed it to git { "name": "lovat/magento2-api", "description": "Lovat Api Sales Module ...
0
votes
0answers
15 views

Magento 2 disabled authorizenet via composer depending on also disabled Magento\QuoteGraphQl

We are seeing this (new) error on M2 2.3.5-p1 GraphQl was disabled Question: how can we prevent this, or configure properly Repositories code generation... 1/8 [===>------------------------] 12% 1 ...

1
2 3 4 5
12