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.

0
votes
1answer
181 views

Magento 2.2: Git deploy error following composer installation

When cloning CE and deploying on Gandi servers, following their own instructions, the process is aborted with the error mentioned in the title. Preconditions Magento 2.2.1 CE PHP7.1 MySQL 5.6 Gandi....
0
votes
1answer
228 views

Install extension via composer - permission denied

I try Install via composer free extension Magento 2 SMTP. installation guide: https://www.mageplaza.com/magento-2-smtp/download/ I run first command: php composer.phar require mageplaza/module-...
0
votes
1answer
49 views

Composer Error While upgrading magento version 2.1.6 to 2.2.2

I am trying to upgrade the magento version from 2.1.6 to 2.2.2. I am using composer to upgrade the version. I have used below commands composer require magento/product-community-edition 2.2.2 --no-...
0
votes
1answer
296 views

Magento 2 - Cannot pass readiness check (Component Dependency)

I'm having a fight with the readiness check at the moment. The only error I have to fix is the one below but I have no clue at the moment. Please assist if you can. Command "update" failed: Loading ...
0
votes
1answer
674 views

How to use a library using composer in a Magento 2 module

At the moment I'm developing a module for Magento 2. I'm using a third party library ("twizo/lib-api-php") and installed it using composer. When I use a class from this library, Magento gives me the ...
0
votes
1answer
47 views

Magento 2: Error After Installing Sample Data using Composer

Im using Magento 2.1.8 and I already installed the sample data using composer but after running this commands setup:upgrade, setup:di:compile, indexer:reindex, cache:clean, cache:flush and changing ...
0
votes
1answer
571 views

Why wont my extension update using composer?

I am trying to update Amasty Layered Navigation. Following their documentation it says to type in the command- composer update amasty/shopby When I do that it says Package "amasty/shopby" listed ...
0
votes
1answer
98 views

How upgrade magento 2 via composer to alternative version PHP

Alternate version php 7.0.24 - my site. Native version PHP 5.2.6 - my server. Composer doesn't want to update magento (it defined version PHP 5.2.6). How to specify for the script an alternative ...
0
votes
1answer
240 views

Composer vs component manger vs manual install

Trying to see which method is the best to install extensions by. I would always lean towards composer however it looks as though many articles online would suggest using Magento's Component manager is ...
0
votes
1answer
139 views

magento 2 update error - uncommited changes

I'm trying to update magento-2 from 2.1.9 to 2.2. I get the following error: Source directory /chroot/home/minimoon/staging.ochosbags.com/html/vendor/zendframework/zend-stdlib has uncommitted ...
0
votes
1answer
199 views

Magento 2 Upgrade Issue using composer

I am trying to upgrade Magento 2.1.1 to Magento 2.1.9 using following command. composer require magento/product-community-edition 2.1.9 –-no-update Following composer.json of root directory. { "...
0
votes
1answer
306 views

Composer installing my magento 1 extension to /vendor but not copying to /app

I have built a Magento 1 extension which is available as a repo here: https://github.com/BenGrant123/Duel_Emails/ Following this guide (http://magebase.com/magento-tutorials/how-to-make-magento-...
0
votes
0answers
382 views

Check Component Dependency

I am getting this component dependency error I have referred also referred other question regarding the same but could not find suitable problem solving answer. Are there any general checkpoints(...
0
votes
1answer
99 views

There has been an error processing your request - could not read auth.json (composer issue)

I can still access my website through its domain but when I try to access the admin panel, it asks for my login but as soon as I login I receive the error: There has been an error processing your ...
0
votes
1answer
285 views

Magento 2 module not installing via composer correctly

Currently trying to get a staging instance up and running. I have run ./composer install and it starts installing fine. I added my keys when it asks for me to authenticate with repo.magento.com and it ...
0
votes
1answer
44 views

Marketplace Release - Extension Using External Composer Packages

I'm using some composer packages (like microsoft/application-insights) in the extension I've developed and now that I'm trying to submit the extension for technical review I've got a lot of errors for ...
0
votes
1answer
19 views

Static Files Migration from development to production error in admin panel

I have updated pub/static/frontend/ from local to live, and getting following error when adding order by admin, Can anybody help me? Magento Fatal error: Interface 'Composer\Package\...
0
votes
2answers
56 views

Cannot add admin menu - composer module

I am developing a new module which will provide access to a custom grid using left sided admin menu. The problem is that I cannot create a custom element in this admin menu. The module is located ...
0
votes
1answer
223 views

Magento 2 Safe to Run Composer Update

Is it safe (or best practice) to run "composer update" on Magento 2? On one hand, Magento has released a specific Magento version with specific dependencies. If those dependencies are upgraded (even ...
0
votes
1answer
45 views

Try to install magento migration tool fails

When i try to install the migration tool from magento i get errors. ( see image ) Hope some one can help me out. Now i have it installed and frond end and backend gives error : There has been an ...
0
votes
1answer
99 views

Magento 2 : Where Put External Dependency?

I'm developing module to call REST API and I want to use an external package via composer. In which composer.json I should put dependency? In composer.json in root directory or composer.json in module ...
0
votes
1answer
95 views

How to config file conposer.json for namespace Module magento2?

I tried use to validate_m2_package.php to confign my module for Magento 2 upto marketplace. This is structure my folder: Namespace ---- ModuleBase ------ composer.json ------ registration.php ---- ...
0
votes
0answers
372 views

Magento2. composer.json require module:version

Can anybody just give me complete example how to require in composer.json some existing magento module (for some my personal extension). And dependency should work in any magento 2.x.x version. For ...
0
votes
2answers
1k views

Win 10, WAMP, Magento 2.x install using either method help

Is there a detail and current guide for a newbie to install Magento 2 in my test environment? I am good at following detail instructions. I have spent over 3 days downloading and reading html and you ...
0
votes
1answer
814 views

Magento2 composer authentication issue

I want to create docker file using alankent/gsd image.And I'm getting authentication issue.here -i option is not working.I'm using windows 10 as a host. how to attach my public key & private key ...
0
votes
1answer
746 views

bin/magento sampledata:reset tries to read nonexistent composer.json

I want to update a Magento installation with sample data from 2.0.2 to 2.0.7, so I am following the instructions here to update the sample data. When running bin/magento sampledata:reset I get the ...
0
votes
1answer
19 views

Magento2 Installtion errors on windows through composer

I am facing a problem while making a installation of magento2 by composer i got the following error after a consecutive successful downloading of some modules. Can one please help me to sort out this. ...
0
votes
1answer
145 views

Magento 1.9.0.2 migration to 2.0.7 clean install error: “composer.json” cannot be found

When I issue this command on bash shell (Copied directly from this here): composer config repositories.data-migration-tool git https://github.com/magento/data-migration-tool I get the following ...
0
votes
1answer
45 views

Module developement update composer config [duplicate]

During module developement (module is palced in app/code) after adding new package to composer.json, how can i make magento to install that package ?
0
votes
2answers
2k views

Magento 2: Cannot load my library using composer

Sorry for the lengthy message. I just wanted to provide as much information as possible. I am writing a new module. I have a custom library that I need to load to use in my module. I have the ...
0
votes
1answer
61 views

migration from magento 1.9 to magento 2.0.2 using composer

I'm trying to download magento2 from git using composer I always see this warning about Xdebug I uncomment the line zend_extension in my php.ini file but I have the same warning can any one give me ...
0
votes
1answer
64 views

Composer issues while upgrading Magento 2.0rc to 2.0

I have installed Magento 2.0 rc in AWS and tried to update my composer.json to update it to Magento 2.0. Ran the command sudo composer config composer.json but received an red box with the error ...
0
votes
2answers
541 views

magento 2 extension composer update error - Please update your modules: Run “composer install” from the Magento root directory

My Siteground shared hosting plan does not allow me to use composer (memory limit). How can I fix this issue? is there a way to manually update it without composer? or how can I disable this module? ...
0
votes
1answer
402 views

Magento 2 - Stuck Checkout loader

Checkout loader gets stuck while processing an order, but the order is proceeding. I found an error in console. I have attached an image of what is happening, and a screen grab of the javascript ...
-1
votes
2answers
2k views

Composer installation issue for Magento 2 on WAMP [closed]

I'm trying to install magento 2 on WAMP Windows 10. I have downloaded. When i run it gives error Autoload error "Vendor autoload is not found. Please run 'composer install' under application ...
-1
votes
1answer
978 views

SQLSTATE[42S02]: Base table or view not found: 1146 Table db name xyz.core_url_rewrite' doesn't exist

in local this error are display in my magento website plzz give me right answer thanks
-1
votes
1answer
149 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(/...