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
2answers
93 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 "...
0
votes
1answer
49 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": "...
0
votes
1answer
155 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 "...
0
votes
1answer
132 views

Magento 2 : how to LIbrary import using composer

How can we library import without composer update give any solution.
0
votes
1answer
425 views

Upgrade Magento from 2.1.10 to 2.2.2

I just recently upgraded Magento from 2.1.10 to 2.2.2. Which brought up quite a few problems with most of the resolved now. Most were fixed by updating Grunt again which I thought I already did right ...
0
votes
1answer
64 views

Error: “URL required authentication”

I'm trying to move to Magento 2 finally. And was trying to install a module from GitHub via composer. I tried it on my localhost first and everything worked perfectly, I executed: php ./vendor/...
0
votes
1answer
481 views

PHP Warning after upgrade from Magento 2.1.9 to 2.1.10

I'm having some issues with an installation of Magento 2 that I'm upgrading from 2.1.9 to the 2.1.10 security update. I'm following the cli-upgrade instructions. I'm running all commands as root. I ...
0
votes
1answer
284 views

How to create composer.json file needed in order to post a module on Magento Connect (Magento Marketplace)?

I am a Magento developer, and I have to publish an extension module to marketplace. I created an account and I am a status of "partner", so on this page: https://developer.magento.com/customer/account/...
0
votes
1answer
75 views

Magento upgrade CLI problem

I want to upgrade to Magento 2.1.9. Entered command: composer require magento/product-commu**m**ity-edition 2.1.9 --no-update After command "composer update" I've got error message: Problem 1 - ...
0
votes
1answer
1k views

PHP Version Check Magento 2

I am trying to update my Magento 2 to the latest version, my system fails the readiness check with the below message: PHP Version Check Your PHP version is . The required PHP version is . Hide ...
0
votes
1answer
56 views

How do Magento2 Integration and Functional Test relate to composer vendor folder?

I want to write a full test suite for my new module. Unit tests are no problem as they can be tested in isolation, and therefore can be in a tests folder within the package. However Integration and ...
0
votes
1answer
827 views

How to install an extension on a private Github using Composer?

I'd like to know how to install extensions on my Magento 2.1 using Github / Bitbucket / Gitlab with public and private repositories. Thanks.
0
votes
1answer
91 views

composer won't run due to phpunit

Struggling to update or do anything with composer and get the same error every time: [Seld\JsonLint\ParsingException] "./composer.json" does not contain valid JSON Parse error on line 15: ...
0
votes
2answers
711 views

Magento 2 marketplace extension installing error: Do not run Composer as root/super user!

I am trying to install an extension with the help of composer for magento 2. This is my composer.json file { "name": "ankur/module-quickorder", "description": "N/A", "require": { ...
0
votes
1answer
519 views

Updating from 2.1.3 to 2.1.4 on magento

Magento: I am trying to update the magento via Web setup and its giving me error Check Component Dependency We found conflicting component dependencies. Hide detail Command "update" failed: Loading ...
0
votes
1answer
177 views

Rename(/usr/lib64/plesk-9.0/composer.phar): failed to open stream: Permission denied

I tried to run the composer self-update method and I'm getting this error message and I'm not sure where to start to fix this issue: rename(/usr/lib64/plesk-9.0/composer.phar): failed to open stream: ...
0
votes
1answer
317 views

magento 2 third party module installation through composer

I'm developing and trying to install a module through composer in Magento. My module's composer.json looks like this { "name": "amit/test", "description": "N/A", "require": { "php": "~5.6.0|...
0
votes
1answer
714 views

Error while trying to upgrade magento through composer

I am trying to update magento/product-community-edition 2.0.5 to version 2.1.0. To do that I replaced version in composer.json and tried to run composer update -vvv. Unfortunately, script is failing ...
0
votes
1answer
98 views

Magento 2 - Create a composer module with .less files in it

I'm trying to figure out how I can package a module with some .less files in it through composer. For example, let's say You wrote a module which has few frontend parts, of course this parts needs ...
0
votes
1answer
52 views

Installing Magento 2.0 with Composer

I have generated a private key on my Magento account. But composer will only let me enter the username (public key) and won't allow me enter the password (private key). Why is this?
0
votes
0answers
10 views

Magento 2.3.2 EE Composer Install Could Not Resolve

I am using Magento version 2.3.2 EE. I am trying to run the "composer install" step (I have not modified the composer.json file in any way) and I'm seeing the following error: $ composer install ...
0
votes
0answers
19 views

How to resolve this Composer Update problem?

Please have a look on the screen shot below and let me know: What's the concrete problem here (it is not clear to me)? How to sort it out? Is there any way to do this update ignoring these ...
0
votes
0answers
14 views

Own module in bitbucket - different branch for 2.2.x and 2.3.x. How to install with composer?

i have own module in bitbucket (written at the time when was magento 2.2.x) which is overwriting magento-catalog ImageBuilder.php file. Now after testing this with 2.3.x i found, that it isnt working....
0
votes
3answers
50 views

Magento 2 - Table not deleting while uninstalling custom module using module:uninstall command

I'm a newbie in magento 2 development. I'm creating magento 2 module and testing with composer. My test project is in github. https://github.com/hussain-badusha/magento-badusha-test In my module, i ...
0
votes
0answers
18 views

Magento 2.3: InvalidAgumentException: Composer could not find the config file

I have a problem with Magento, I use X-debug for trying to debug Magento and I have the following Exception: Exception Has ocurred. InvalidArgumentException: Composer could not find the config ...
0
votes
0answers
19 views

Magento 2 Composer is not working for installing third party module on local server

I have a setup of Magento2.3.2 version and I need installation of some third party module with composer but when I try to install the module it throws below error. Installation failed, reverting ./...
0
votes
1answer
54 views

Error in Upgrade Magento CE version from 2.2.3 to 2.3.0 with composer?

I have tried using below command but getting errors when update Command 1: composer require magento/product-community-edition 2.3.0 --no-update Command 2: composer update Output: Your ...
0
votes
3answers
41 views

Magento2.3 install extention via composer but in app/code

I have an extension which was installed in app/code and override from app/code, now I have only the zip for the composer installation, is it a way to install this extension by composer but in app/code/...
0
votes
1answer
31 views

Magento 2 root composer.json file content?

What should the content be in the Magento 2 root folder composer.json file AFTER Magento is installed? When I add a new module, should I add this to the existing list (require, etc)? Should all the ...
0
votes
1answer
18 views

Magento update version

I'm currently running a Magento store version 2.3.0 and trying to upgrade it to version 2.3.2. If I try to update on the Magento admin I receive the message bad credentials after entering the access ...
0
votes
0answers
35 views

Invalid credentials for magento/module-store

After creating my auth.json file and adding the credentials: { "http-basic": { "repo.magento.com": { "username": "publickey", "password": "privatekey" } } } and doing a ...
0
votes
1answer
11 views

Installing Zend_Barcode

I'm not having any luck getting Zend_Barcode to work in Magento 2. Zend_PDF is working, and I notice that it has a class in: /vendor/zendframework1/library/Zend/ but Zend_Barcode does not. I've ...
0
votes
1answer
52 views

Magento 2: Problem updating Magneto v2.2.1 to v2.3.2

i want to update my Magento to v2.3.2, when i run composer update, i get this error: Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request ...
0
votes
0answers
24 views

Composer Error When try to Update or Upgrade Magento 2.2

I have in my system installed Centos 7 and php-fpm with some version of PHP 7, when I try to use composer update I get this message I would like to know how to fix that problem
0
votes
3answers
45 views

How to deploy to production server customizations made in vendor folder?

So, We have 3 environments: development, staging and production. .gitignore file includes "vendor" folder and it has been working fine for us fine. Once We pull changes in Staging We would just run: ...
0
votes
1answer
58 views

Product page fails to render

When you click on a product page, it only shows a one image. Looking at the stack trace, it looks like there is some PHP error. I think when I patched to 2.3.2, maybe something didn't updated? How ...
0
votes
1answer
73 views

Magento 2 upgrade killed process

I want to upgrade Magento 2.1.7 to Magento 2.3.2 and I follow below commands sudo composer require magento/product-community-edition=2.3.2 --no-update sudo composer require --dev phpunit/phpunit:~6.2....
0
votes
0answers
13 views

composer installed.json emptying

My installed.json randomly gets empty what causes composer errors at magento page, It happens randomly, mostly after php bin/magento setup:upgrade command. The only solution I can fix it is composer ...
0
votes
0answers
22 views

I can not install anything via Setup Wizard

I'm using magento 2.2.6. I used to have an error on the ComponentDependencies in the readiness check. I passed that error, by removing the: "require-dev": { "phpunit/phpunit": "~6.2.0", ...
0
votes
1answer
74 views

Errors Installing Data Migration 2.2.0 Tool with Composer

Running the different commands below and getting errors with each of them. How do I get the data migration tool to install? I also pasted in our composer.json file below. First Attempt This one ...
0
votes
1answer
129 views

The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly Error

When I try to complete the checkout by paying with Hosted Payment Form (mastercard module) I get an error 400 Bad request. I was reading the exception.log file and I found an error that says the ...
0
votes
0answers
17 views

Magento2 symfony/finder not found and unable to update

I have a plugin I am trying to install and when I run the composer install on the command line I get a error that says Updating symfony/finder (v3.4.22 => v3.4.28): Update failed (Could ...
0
votes
0answers
76 views

How to fix “There are no commands define in the namespace” error?

I have upgraded the Magento version from 2.2.6 to 2.3.0 via composer. I have tried running the command php bin/magento setup:upgrade but it says the below error There are no commands defined in the ...
0
votes
1answer
384 views

Magento 2.3.1 Composer Fatal error when installing Ext

Trying to install anything on Magento 2.3.0 & 2.3.1 using Composer I get the following error. Does anyone know how to fix this? Fatal error: Uncaught TypeError: Return value of Magento\...
0
votes
0answers
196 views

Magento 2.3.1 Composer Fatal error installing anything

After thing to install a few other extensions, I'm getting the Fatal error message with anything when using Composer. I have installed a fresh copy of Magento 2.3.1 and I'm trying to install the data ...
0
votes
0answers
78 views

Fatal error: Uncaught Error: Class 'Cm_Cache_Backend_File' not found

Going through an upgrade from 2.2.6 to 2.3.1 and i have this populating on the frontend. Additionally, on command line if i try to run an upgrade or pretty much anything even php bin/magento list i ...
0
votes
0answers
17 views

Magento 2 Install Composer and Setup Upgrade in 1 step: how do we get the package name?

I am reading through the Magento guide and understand the steps. However it appears to me that many -if not all - of the steps are the same everytime. https://devdocs.magento.com/guides/v2.3/comp-mgr/...
0
votes
1answer
406 views

Magento 2.3 Upgrade issue

I'm trying to upgrade to Magento 2.3.1 and I'm running into a problem. I was on PHP 7.1.3 and noticed in the system requirements that it requires 7.1.3 and 7.2.X. We've upgraded the server PHP version ...
0
votes
0answers
15 views

Changing from Magento2 github install to composer install

We have installed Magento2 using GitHub but later we realized that we should be installing it with the composer from Magento. Will it be an issue if we switch it to the composer as we have done a lot ...
0
votes
1answer
84 views

Download failed, retrying… Downloading https://repo.magento.com/archives/magento/magento2-base/magento-magento2-base-2.3.0.0.zip

I need to say, its really hard and sadly magento typically that nothing works out of the box as it should if you follow offical step-by-step tutorials. Since a few hours or better days I try to ...