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
1
vote
0answers
12 views

composer/composer 1.10.8 requires composer/semver ^1.0 -> no matching package found

i am trying to do composer update on my magento2 installation, which is at version 2.3.4 i am getting following error [Composer\DependencyResolver\SolverProblemsException] ...
1
vote
1answer
16 views

Error on install modules with composer in Magneto 2.3.1

I have installed Magento 2.3.1 and PHP 7.2.31 and I have run below command, COMPOSER_MEMORY_LIMIT=-1 composer require company/module --no-plugins and getting error like below, Problem 1 - magento/...
1
vote
0answers
20 views

Not able to install modules with composer in Magneto 2.3.1

I have installed Magento 2.3.1 and PHP 7.2.31, I am trying install modules with composer and getting error like below, Fatal error: Uncaught TypeError: Return value of Magento\...
0
votes
1answer
28 views

composer install magento2.3.5-p1

I try to install magento2.3.5-p1 by use composer, when it is finished the folder structure looks like: Anyone knows why it is like that?
1
vote
1answer
65 views

css and js not found in magento 2.3.5

Refused to apply style from http://localhost/magento2-2.3.5-p1/pub/static/version1593595791/adminhtml/Magento/backend/en_US/extjs/resources/css/ext-all.css because its MIME type ('text/html') is not ...
1
vote
0answers
159 views

Composer “ The ”https://repo.packagist.org/packages.json“ file could not be downloaded”

I'm using a mac, virtualbox with a bridged connection and Ubuntu server 20.04. I'm following this tutorial to install Magento 2 on this server. https://websiteforstudents.com/install-magento-2-on-...
1
vote
1answer
17 views

Magento 2 replace dotmailer/dotmailer-magento2-extension errors with compiler error

We have added the following to composer json in M 2.3.5 "replace": { "dotmailer/dotmailer-magento2-extension": "*", Then we run php bin/magento setup:di:compile ...
0
votes
1answer
44 views

Cannot upgrade from 2.3.4 to 2.3.5 because of Temando

After running this command: composer require magento/product-community-edition 2.3.5 I get the following error: Your requirements could not be resolved to an installable set of packages. Problem 1 - ...
0
votes
0answers
18 views

Error When Install Data Migration Tool to Magento 2.3.1 with composer

I have run below commands with composer in Magento 2.3.1 and getting error like below. composer config repositories.magento composer https://repo.magento.com composer require magento/data-migration-...
0
votes
0answers
13 views

Magento 2.3.1 installation error with composer

I have used PHP 7.2.31 and Magento version 2.3.1 but when Magento 2.3.1 installation with composer getting error like below, ===================== Your requirements could not be resolved to an install-...
0
votes
1answer
23 views

Is it possible to remove extension installed via composer without composer?

I've got a problem with a website that i have inherited from another developer, it's Magento 2.3.2 with quite a few extensions installed... The majority of the extensions are installed at /app/code - ...
0
votes
0answers
10 views

How to just remove extensions with composer.json

I wish to just remove the not needed extensions by adding them to composer.json's "replace" section. However I'm afraid it will also update some of the extensions mentioned in the "...
0
votes
1answer
46 views

Magento 2 - How to upgrade to magento 2.4.0?

I try to upgrade from 2.3.5-p1 to 2.4.0. I changed the version in composer.json and executed composer update but I get: Loading composer repositories with package information Updating dependencies (...
0
votes
0answers
9 views

Installation and Vanish Issue magento 2

Hello Everyone i am submitting my first extension on Marketplace Everything is fine just getting vanish issue and i have n idea how to resolve this Need hlp here is actual Issue Your requirements ...
0
votes
1answer
84 views

Magento 2: composer update from 2.3.0 to 2.3.5-p1 fails with missing ext-mcrypt

I have a magento 2.3.0 install (just upgraded from 2.2.7) running on php 7.2 (PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b). Now I wanted to upgrade to 2.3.5-p1 using composer: composer require ...
1
vote
0answers
14 views

Why Magento 2 uses both PSR-4 and PSR-0? What is the advantage of one over the other?

Below is the composer.json file in Magento 2, and it has used both PSR-4 and PSR-0. What is the advantages of using both in one project. "autoload": { "psr-4": { ...
1
vote
0answers
26 views

Magento 2.2.8 > 2.3.5 upgrade hangs on “Something's changed, looking at all rules again”

I'm trying to upgrade a Magento shop from 2.2.8 to 2.3.5 through composer. First, i've copied the shop from the live server to a local docker environment. Then I applied the upgrade on the local ...
1
vote
0answers
54 views

Composer install .zip could not be downloaded

When I run composer install I get the error message: [Composer\Downloader\TransportException] The "https://repo.magento.com/archives/magento/module-invitation/magento-module-invitation-100.3.5.0.zip" ...
3
votes
2answers
111 views

Installation & Varnish Test Results Failed on magento marketplace

Installation & Varnish Test Results Failed on Magento Marketplace composer.json { "name": "vendor/preorder", "description": "Pre Order", "...
0
votes
1answer
49 views

Composer installation fails with “failed to open stream: Too many open files”

When trying to install Magento 2 Open Source with the following command, I get the following error. I've already upped my maxfiles to kingdom come, without any positive effect. How do I fix this? ...
0
votes
2answers
17 views

Magento2 - Run composer require without cli

I don't have access to ssh on my cpanel. How is it possible to run composer require(composer require razorpay/magento) without any cli interface?
0
votes
2answers
37 views

Magento 2.3.4: How to update composer?

Several fatal errors showed up during the upgrade to Magento 2.3.5 from 2.3.4 which, after research, were found to have been caused by the outdated version of composer. Running composer self-update ...
0
votes
0answers
15 views

Bypass Web Setup Wizard for Extension Install

Scenario: I am trying to install the authorize.net module/extension. I have run the Web Setup Wizard: "Your current PHP memory limit is 256M" I changed the maximum memory to "=2048" in php.ini. I ...
1
vote
1answer
39 views

Magento 2: Zendframework dependency not installed

We're running Magento2 v2.2.10. And we're deploying the repo using Capistrano but it fails during bin/magento tasks. An abstract factory could not create an instance of ...
2
votes
1answer
243 views

Undefined class constant ‘PRE_COMMAND_RUN' while upgrade to Magento 2.3.5 from Magento 2.3.4

I'm trying to upgrade my Magento installation to the version 2.3.5 using composer but I get the following error: Uncaught Error: Undefined class constant 'PRE_COMMAND_RUN' My composer.json is as ...
1
vote
1answer
139 views

Magento 2 Marketplace Varnish Test Failed Error: Your requirements could not be resolved to an installable set of packages

I have uploaded the extension on the marketplace but it's failed in varnish test. Error:- Your requirements could not be resolved to an installable set of packages. Problem 1 - Conclusion: don't ...
0
votes
0answers
22 views

Fix Composer.json File? - Can't update anything

I"m trying to update mageplaza smtp plugin via composer and running into issues with composer. I'm running the commands per their instructions on github. I have had magento updated to 2.3.3 ...
0
votes
0answers
18 views

How to download latest release using composer require?

I have published some repos using Packagist. I also have released some release like 1.0.0 and 1.0.1. Issue is when installing via composer it downloads the very 1st version i.e. 1.0.0 and when I run ...
0
votes
0answers
15 views

Two extensions using Guzzle client, but are not compatible. How can I force them to use their own?

I have two (Mollie and ING) different extensions using Guzzle client which is installed in /lib/. Both extensions maintain their own versions. Everything was working fine with just one of those ...
3
votes
4answers
487 views

Magento 2.3.5 we found conflicting component dependencies

I have tried every possible solution I could find on the internet. From increasing the MEMLIMIT in the php.ini to 2G to removing the required tags in composer.json and so on. This is a Vanilla ...
0
votes
2answers
22 views

script error composer.json

I want to add 3rd party module from artifacts in my project. required all modules with composer but when I run composer update at the end I have following error Fatal error: Uncaught LogicException: ...
0
votes
0answers
16 views

Error in update (Installing Modules through Admin)

I have been struggling for sometime now getting modules to install using the magento connect feature. Im running aws lightsail magento and i have tried to do a clean install with no themes etc and ...
0
votes
1answer
49 views

M2: Issue during install module via composer

When I try install module via composer then I get issue from other extension which is already installed. [user@s1 public_html]$ composer71 require new/modulemarketing [RuntimeException] Could ...
0
votes
0answers
17 views

Creating patch in Magento 2 issue

I am trying to make a patch for a private method from the core of the magento/module-configurable-product module. I followed the instructions from here: https://magento.stackexchange.com/a/256580/6204 ...
0
votes
0answers
34 views

can not install module with artifacts

I am trying to install new module using artifacts and composer. It returns an error at the end > ([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/...
0
votes
1answer
51 views

How can I install Cybersource using composer?

I wanted to try and install the Cybersource package on Magento. On the marketplace, I had the option to download the package. When I did the only thing in the download was this composer.json- { "name"...
0
votes
0answers
25 views

dockergeneto magento setup:install error

I have installed 2 new 3rd party modules using composer ( artifacts) ... had some problems with url_rewrite decided to install Magento from the beginning now I am on setup Install stage and it throws ...
0
votes
0answers
50 views

composer require problem

I have an error when trying to require artifact module dockergento composer require sm/listingtabs --no-suggest -o --ignore-platform-reqs --prefer-dist Deprecation warning: require.Sm/ListingTabs ...
1
vote
1answer
168 views

Upgrading from v2.3.0 to 2.3.4

I need to upgrade a Magento instance from v2.3.0 to v2.3.5 later this month. I'm wondering if I need to upgrade to v2.3.1 and run setup:upgrade first, and then repeat for v2.3.2, v2.3.3, v2.3.4 ...
0
votes
0answers
62 views

Trouble when installing Social Login from Amasty

I'm trying to install a plugin Social Login extension from Amasty on my Magento 2 website, but when I run the command composer require hybridauth/hybridauth ^2.15.1, I get the error: [user@website]$ ...
0
votes
2answers
160 views

Invalid credentials for repo.magento.com

I'm trying to install Magento 2.3 on a local Laragon install, but the composer install is failing because of this error: [Composer\Downloader\TransportException] Invalid credentials for 'https://...
0
votes
1answer
50 views

getting error while magento composer install

[UnexpectedValueException] The checksum verification of the file failed (downloaded from https://repo. magento.com/archives/magento/google-shopping-ads/magento-google-shopping-ad s-3.0.1.0.zip) ...
0
votes
2answers
278 views

PHP CodeSniffer Config installed_paths set to ../../elasticsearch,../../codeception,../../ Magento 2

I am going to install Magento using the composer. I ran this command, composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition There is showing me an ...
1
vote
2answers
133 views

Magento 2: How to install not enabled packages

when I try to run 'composer install' into my folder /web I got this problem triggered, can anyone tell me how to install all of this extensions, please? Problem 1 - Installation request for ...
0
votes
1answer
137 views

Magento 2.3.3 The “https://repo.magento.com/packages.json” file could not be downloaded:

I want to install a plugin, but the readiness check gives the next error Check Component Dependency We found conflicting component dependencies. Command "require" failed: In RemoteFilesystem.php ...
1
vote
2answers
99 views

Problem when installing module with composer

When I run the following command on my Magento 2.3.3 store I get an error: composer require fooman/pdfcustomiser-m2 This is the error I'm getting: - magento/framework 100.1.15 requires php ~5.6....
1
vote
1answer
260 views

Update composer zendframework packages to laminas

On composer outdated I found several lines similar to this Package zendframework/zend-view is abandoned, you should avoid using it. Use laminas/laminas-view instead. How can I switch from ...
0
votes
0answers
46 views

Autoload Magento 2 Issue

My website has been migrated to a new server in the same hosting for reasons of optimization, after it, appear this issue when I'm trying to enter in any page of Magento Autoload error Passed ...
1
vote
2answers
129 views

Magento 2.3.3 -Data Migration tool from composer chmod(): Operation not permitted error

I am trying to Install Magento 2.3.3 Data Migration tool version 2.3.3 but i am facing an error and it got killed in between. I am using in Ubuntu 18.4 and Xampp 7.2 I have tried composer require ...
1
vote
4answers
482 views

Problems with friendsofphp/php-cs-fixer and php7.3

Hello to all users of the forum, I need help. I upgraded from version 2.3.2-p2 to 2.3.4 and after that the error is occurring: composer update Do not run Composer as root/super user! See https://...

1
2 3 4 5
11