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
2 votes
1 answer
1k views

When is the setup folder created by Magento?

Can I gitignore it in a composer based installation? I tried deleting vendor/ and composer install, but the setup folder was not newly created. EDIT It is not happening on each composer install - ...
Alex's user avatar
  • 13.8k
0 votes
1 answer
269 views

Customer_Eav db schema version is not properly set

I am using Magento 2.2.5 and getting this error. 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Please update your modules: Run "composer install" from the Magento ...
sam's user avatar
  • 489
0 votes
1 answer
427 views

Magento2 composer update throws exception

When I am running composer update I am faced with the error like: $ ./composer update X-Powered-By: PHP/7.0.31 Content-type: text/html; charset=UTF-8 Warning: Composer should be invoked via the CLI ...
Joshi's user avatar
  • 347
0 votes
0 answers
124 views

Magento 2 - Web Upgrade Fails on Component Dependency Checks

I have a Magento 2 site on version 2.1.8 and I am attempting to upgrade to 2.2.5 with the Web Setup Wizard. When I run the readiness check, it fails on Component Dependency. My composer.json file ...
Marisa's user avatar
  • 330
2 votes
2 answers
546 views

Magento 2.2.3 upgrade to 2.2.4 giving error

I'm trying to upgrade my magento 2.2.3 to 2.2.4 through putty: php70 composer require magento/product-community-edition 2.2.4 --no-update php70 composer/composer.phar update and after this I try: ...
alexcr's user avatar
  • 1,477
5 votes
2 answers
740 views

What is Composer and how to use it?

After having had some problems while trying to upgrade Magento 2, or when installing new modules, I often find the suggestion of "using Composer" to do it. However, as a designer (not really a ...
Peanuts's user avatar
  • 355
0 votes
1 answer
627 views

error after "composer update"

First time I installed a module via ssh, and I accidentally make "composer update". Now my site has this error: 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Please ...
goplastic's user avatar
  • 135
1 vote
2 answers
1k views

Magento 2.2.5: Error on cron:run after every production deployment

Since we upgraded Magento to 2.2.5, after every deployment to production (which includes git pull..., composer update & all other relevant Magento CLI commands for production deployment), our ...
Pini's user avatar
  • 917
0 votes
0 answers
361 views

Magento 2: error 500 and issue with a Composer

I have an error 500 "site is currently unable to handle this request"., and this is what logs are writing: [Wed Jul 25 07:21:16.343013 2018] [php7:warn] [pid 396] [client 176.125.35.8:44830]...
Anton's user avatar
  • 1
0 votes
1 answer
287 views

Magento 2.1.3 to 2.2.5 Upgrade Checksum verification of the file failed

I stumbled into this problem while upgrading Magento 2.1.3 to 2.2.5 via composer update. Any ideas?
MazeStricks's user avatar
  • 1,255
1 vote
2 answers
2k views

Can't upgrade Magento 2.2.4 to 2.2.5

I am trying to upgrade Magento 2.2.4 to 2.2.5 with composer. php bin/magento maintenance:enable php composer.phar require magento/product-community-edition 2.2.5 --no-update php composer.phar update ...
Garry's user avatar
  • 267
0 votes
1 answer
67 views

Magento 2 Hardware Requirement confusion and Upgrading on Live server confusion

I have worked with Magento1 and Magento2 both. But All of my Magento2 projects are hosted under dedicated server and the permission of Upgrading and Building using composer is given by the client. So ...
Soeb Safi's user avatar
  • 313
1 vote
0 answers
182 views

Use Mage::app('admin') in Composer post scripts

I am creating a post-update-cmd script in which I call some functions. The file is lib\Vendor\Module\CustomClass.php This is the command: "post-update-cmd": [ Vendor \\ Module \\ CustomClass :: ...
AntonioC's user avatar
  • 187
1 vote
3 answers
1k views

Outdated Amazon_core after composer update (Magento 2.2.4)

I am getting this error: Amazon_Core db schema version: defined in codebase - 2.0.12, currently installed - 2.0.4 and Amazon_Core db data version: defined in codebase - 2.0.12, currently installed -...
N8-'s user avatar
  • 51
2 votes
0 answers
442 views

Setup page not getting loaded after install

I have been trying to install magento 2, When i am trying to access the setup page from url, but the url is not accessible it says This page isn’t working xx.xx.xxx.xxx is currently unable to ...
Jeet's user avatar
  • 129
4 votes
2 answers
2k views

Version Control Magento 2 on Git

What is the best way to version control Magento 2 store on Git? How should I set up the repo/s to be flexible and reliable in a long run? I use composer to install all third party modules (when that’...
Greg's user avatar
  • 2,929
2 votes
2 answers
534 views

Changing from a git to a composer installation

I'm afraid, I've got a Magento 2 installation which has been done via git. I'm not a developer and would like to upgrade simply via composer update. Is it somehow possible to move or migrate from one ...
Chris's user avatar
  • 577
2 votes
2 answers
2k views

Running out of memory while reindexing using -d memory_limit=3G

I recently migrated data from Magento 1.8.1 to Magento 2.1.7, which includes around 700,000 customers. After migration, I am running this command: php -d memory_limit=3G bin/magento indexer:reindex ...
hiteshspac's user avatar
1 vote
1 answer
2k views

Ignore platform requirements for sample data installation using Composer

I have a module installed via Composer where the latest master version requires PHP 7.0.x, while the updated version I'm using allows PHP 7.1.x which I have installed. This causes a problem that on ...
Ynhockey's user avatar
  • 265
0 votes
2 answers
722 views

Magento composer The system cannot find the path specified. (code: 3)

I am executing composer install but getting below error # composer install Loading composer repositories with package information The following exception may be caused by a stale entry in your cmd....
Compu Scie's user avatar
4 votes
0 answers
2k views

Magento 2 InvalidArgumentException Could not find a matching version of package

I am trying to install the module using the composer in Magento 2. I have created a module and publish on the GIT repository and also added the GIT repository URL at packagist. Module GIT URL: https:/...
Suman Singh's user avatar
  • 1,007
3 votes
2 answers
528 views

The composer is installing different module versions than the required one

On a Magento 2 branch, when I am running the composer will get different module versions than the required one. Let's say for the Magento_Store module I do need the 2.0.0 version, but the composer is ...
user avatar
1 vote
1 answer
209 views

Issues using the Code Migration to migrate to Magento CE v2.2.3 w/ PHP 7.1

I'm attempting to use the code-migration toolkit provided by Magento to assist in our migration to Magento CE v2.2.3 (from v1.9.3.4), but after I clone the latest branch and execute either composer ...
Justin's user avatar
  • 143
0 votes
3 answers
743 views

Install Magento 2.2.3 with composer throws

I am trying install a clean version of Magento 2.2.3 using composer: composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition This error is thrown: ...
Frederick Duffield's user avatar
1 vote
0 answers
31 views

I am using magento 2.2.3 with custom theme i wanted to add payment using composer when try to install its showing magento/framework not found

Do I Have Install Framework? I Have Installed Magento using Installtron
Shantanu Joshi's user avatar
1 vote
0 answers
38 views

Using Composer on Shared Host

I have just recently started dabbling in the idea of upgrading from Magento 1.9.x to 2.2.x now. Working with installing Mangento and now having to use Composer, I am attempting to run simple commands ...
ne0nlight's user avatar
  • 207
0 votes
1 answer
408 views

Check Component Dependency, no obvious error

I am creating a test environment for magento, hoping that I can replicate later for some work on it, and have come up an issue on Check Component Dependency. the base config is as followed: Specs ...
XM0's user avatar
  • 41
3 votes
2 answers
203 views

How to use Composer to update just the Magento 2 core packages?

I would like to use the composer update feature to update all the core packages, not the third-party packages together. Do you have some idea?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
1k views

GDPR Module Installion "Can only install one of: magento/framework[101.01.1, 100.0.02]

I am trying ton install the following GDPR module via command line for Magento version 2.2.1 : https://github.com/AdfabConnect/magento2gdpr However, the install fails and produces the below error ...
Deadulus's user avatar
  • 245
0 votes
2 answers
222 views

MEQP tools run comments Issues

Im trying to run MEQP in magento 1.9.x version , but whenever I run php vendor/bin/phpcs D:\xampp\htdocs\projectname --standard=MEQP1 from the command line I get this output: dir=$(d=${0%[/\\]*}; cd "...
udhayakumar's user avatar
0 votes
2 answers
668 views

Magento 2 data migration RuntimeException

I am learning how to convert Magento 1.x to Magento 2.x I installed fresh Magento ver. 1.9.3.8 from GitHub mirror and fresh Magento 2.2.3 using composer maddy@maddy:/var/www/html/magento-composer$ ...
inrsaurabh's user avatar
  • 1,676
0 votes
2 answers
3k views

I installed mageplaza smtp extension on m2 EE 2.2.3 (via composer)

I followed the directions here and installed via composer. https://github.com/mageplaza/magento-2-smtp Install via composer (recommend) Run the following command in Magento 2 root folder: composer ...
Head's user avatar
  • 177
0 votes
1 answer
75 views

How to copy phpunit test xml file of a module under dev/tests/unit/ with composer installation in Magento 2?

I wrote a module including phpunit test xml file. I want to automatically copy that xml file under dev/tests/unit/ after composer update. The composer.json of the module looks like { "name": "...
ronnie's user avatar
  • 11
1 vote
1 answer
369 views

What will happen if we install magento 2 from github and later used composer to update

Recently i am working on a Magento 2 website which was installed from github , when i started to work on that project i used composer as when while installing on my local machine it asks me to run "...
inrsaurabh's user avatar
  • 1,676
1 vote
2 answers
3k views

Magento 2: How To Include 3rd Party Library in Custom Module

As an example, I'm looking to use Zendesk's API to create tickets and other things within my custom modules. They have a Packagist that can be installed via composer: composer require zendesk/...
AJK's user avatar
  • 751
1 vote
0 answers
321 views

How to prevent composer to remove bin/magento?

When I use composer to add a package, it deletes a bunch of packages, and it deletes the bin/magento . How to prevent composer to delete bin/magento ? How can I have everything working like before ...
Cedric's user avatar
  • 159
-1 votes
1 answer
257 views

magento 2 File composer.json cannot be opened

I have installed an extension on magento 2.0 on my local server. It works fine there. Installed same extension on live server and it shows File "/composer.json" cannot be opened Warning!fopen(/...
Seefan's user avatar
  • 540
1 vote
0 answers
41 views

How to run composer.patch on Magento 2.1

I am trying to run this patch PATCH_MDVA-4538_EE_2.1.4_v2.composer.patch when I simply run the patch command it hangs. Is there a composer.patch command that I need to do?
brentwpeterson's user avatar
2 votes
0 answers
76 views

Can't upgrade to Magento Commerce 2.2.3

Trying to upgrade Magento Commerce (EE) to 2.2.3 from 2.2.2 using composer, however, the package doesn't seem to be available in repo.magento.com - anyone else had this problem? Tried a lot of ...
George Schiopu's user avatar
4 votes
1 answer
166 views

Magento 1 extension and composer : Packagist and/or Firegento

I just finished an extension and I was wondering : in order to have my extension available in composer, is it better to publish it on Packagist or in Firegento ? In fact, I already published it to ...
Julien Loizelet's user avatar
0 votes
1 answer
274 views

Magento 2 : how to LIbrary import using composer

How can we library import without composer update give any solution.
Tushar's user avatar
  • 515
2 votes
5 answers
1k views

Magento 2 Install extension but not upgrade Magento via composer

So if I understand it right the php bin/magento setup:upgrade is used for both, upgrading magento 2 and also for installing extensions via composer. How can I just install the extension without ...
Navitua's user avatar
  • 143
1 vote
1 answer
796 views

Could not find package 2.2.3

When updating from 2.2.2 to 2.2.3 with composer require magento/product-community-edition 2.2.3 --no-update I get this error: [InvalidArgumentException] Could not find package magento/product-...
niceonelee's user avatar
0 votes
2 answers
2k views

Can't upgrade to 2.2.3 from 2.2.2. Memory limit reached

I'm trying to upgrade my Magento installation but experiencing problems with the process: I was trying to update my site to the latest release as advised and I did so via the command line but I ran ...
Rushed89's user avatar
0 votes
0 answers
90 views

Upgrading to 2.2.3 /bin is then empty

I want to upgrade from 2.2.2 to 2.2.3 and I ran the following commands composer require magento/product-community-edition 2.2.3 --no-update composer update Then when I try to do php bin/magento ...
Goose84's user avatar
  • 2,611
0 votes
1 answer
1k views

Composer issue on updating Magento 2.2.2 to 2.2.3 [closed]

Today we tried to update Magento 2.2.2 to 2.2.3 just by requiring the new version with: $ composer require magento/product-community-edition 2.2.3 --no-update $ composer update But after that ...
Rob Huijben's user avatar
0 votes
4 answers
434 views

How to update safely Magento 2.0.4 to Magento 2.2.2?

I want to update from Magento 2.0.4 to latest version. I want to know commands, and which folders are going to modify in the update process. all I want command line based update process. Note: I ...
Ganesh Godshelwar's user avatar
1 vote
2 answers
3k views

Can't install module using composer on Magento 2.1

I am trying to install M2ePro module on my Magento ver. 2.1.8 application using composer and getting this error: [http]$ php-7.0 /usr/local/bin/composer require m2e/ebay-amazon-magento2 Could not ...
Greg's user avatar
  • 2,929
4 votes
0 answers
753 views

Could not install B2B extension for magento 2.2.0-EE

I have installed Magento-EE-2.2.0 with sample data. After installation, i tried to install B2B extension using composer composer require magento/extension-b2b Used the following reference site ...
Mageshwaran's user avatar
1 vote
1 answer
83 views

Testing Pull Requests and Patches from Magento 2's GitHub

I'd like to test the following patch applied by the community. As seen here, https://github.com/magento/magento2/pull/13359/files. Since I've always installed Magento via composer, is there an easy ...
Rob's user avatar
  • 534

1
7 8
9
10 11
15