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.
482
questions
2
votes
0answers
60 views
Magento2: How to install an external package without composer?
I have some packages installed under the vendor dir.
Now, I need a way to take one of them out & place it somewhere else that'll allow editing the files (same as moving a Magento module to app/...
2
votes
2answers
59 views
Installing extension via Composer
I have tried to install the extension via Composer and successfully installed. After installing, I can see the extension menu in the admin panel. However, I can't see any files in the app/code ...
2
votes
3answers
51 views
How to install composer in magento
I am trying to install composer using "composer install" from my command terminal display error.
0
votes
1answer
109 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 ...
1
vote
1answer
57 views
Magento 2 upgrade 2.3
Currently trying to upgrade to the newest magento 2.3 using a script.
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
Whenever I type:
php -f pre_composer_update_2.3.php -- --...
1
vote
1answer
2k views
Class 'Mpdf\Mpdf' not found
I am trying to install the magento2-pdf-generator2 extension, but I first need to install the mpdf library, I ran the composer require mpdf/mpdf command and then ran php bin/magento setup:upgrade and ...
2
votes
0answers
48 views
why deployVeniaSampleData.sh runs out of memory
Trying to run the Venia sample data deploy script
bash deployVeniaSampleData.sh --yes
but keeps getting
mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated ...
2
votes
0answers
239 views
Magento 2.3.1 JSON.parse: unterminated string at line 2 column 1009
I am unable to set payment method in Magento 2.3.1.
As soon as I click on the payment method button all JavaScript functions are killed.
open error log nothing to show, but browser console point me ...
2
votes
1answer
97 views
How to solve upgrading Magento 2.1.1 to Magento 2.1.17?
I am faced issue when I upgrade Magento 2.1.1 to Magento 2.1.17
I changed some values in composer.json
"magento/product-community-edition": "2.1.1", =>"magento/product-community-edition": "2.1.17"...
0
votes
1answer
56 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 ...
1
vote
2answers
2k views
Running composer with php7.0
I have a server where I have two versions of PHP installed (PHP-7.0 and PHP-7.1). I also have two sites one using magento2.1.5 (running PHP-7.0.18) and the other a Code Ignitor project(running PHP-7.1....
2
votes
1answer
42 views
How to mention the magento version compatibility in composer.json
I am creating a module in Magento 2. Now I am writing composer.json. Here I write supporting PHP version
"require": {
"php": "~5.6.0|^7.0.0",
},
How do I write my module will be supported by ...
0
votes
2answers
98 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
353 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 ...
0
votes
0answers
19 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
519 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 ...
1
vote
1answer
38 views
Mismatched Magento version while using composer
I currently have Magento running on Ubuntu Xampp, and attempted to run composer on a theme file, which prompted me to install a load of PHP extensions. I did this (7.2 for all of them, same as system ...
0
votes
1answer
521 views
how to upgrade from magento 2.3.0 to 2.3.1 steps (composer) [duplicate]
I want to upgrade my magento to the latest version. what are the steps to upgrade from Magento 2.3.0 to Magento 2.3.1 via composer?
1
vote
1answer
516 views
Magento 2.2.1 composer upgrade issue amazon pay
I tried to upgrade Magento 2.2.0 to version 2.2.1 via composer however i received framework error about amazon pay conflict (my amazon pay version is 1.1.4). I'm aware i need to update amazon pay to ...
0
votes
1answer
526 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 ...
1
vote
0answers
83 views
Magento2 error while extension installation in create backup step
In my magento2 store I want to install the extension. I have tried this via composer as well as admin extension manager. Every time the process failed in Backup stage after generating the 4Gb of data ...
1
vote
0answers
14 views
How magento2 extension available in composer
We have planning to submit a magento2 extension into Magento marketplace. Currently extension hosted in GitHub private repository.
After successful approval from "Magento marketplace" (Marketing ...
0
votes
2answers
84 views
extension not remove via composer
i have disable extension after i can remove extension via composer like this way
php bin/magento module:disable <ExtensionProvider_ExtensionName> --clear-static-content
php bin/magento setup:...
2
votes
0answers
58 views
NGINX 404 error despite Magento Installation complete on CentOS 7 terminal
I am trying to load the /admin part of my development build of the website. I am unsure what could be the cause of this.
Using this command: (Some of these details are intentionally not in line with ...
3
votes
1answer
61 views
Magento 2.3.0 Shared Server Are Different PHP Version(s) An Issue
I’m trying to install Magento 2.3 with Composer, with php 72. I am hosted on a shared cloud server that has php 70 as the server version (what php -v returns). I can set the local version of php to ...
0
votes
2answers
3k views
Magento2 Installation: Composer PHP version errors on Windows
I tried to install Magento2 on Windows which runs PHP 5.5.19 and MySQL 5.6.X versions (from xampp package) through Composer, but I received the following errors after running composer install (please ...
2
votes
3answers
614 views
Errors during installation- Submitting Package to Magento Marketplace
I am trying submit one Magento2 Extension on Magento2 marketplace but i am getting following error:
Problem 1
Environment: Operating System - Centos 7, PHP Version - 5.6 , Magento Platform - 2.1 ...
1
vote
0answers
386 views
Composer command not running magento2
I am trying to run the following command -
composer require ebizmarts/mailchimp-lib
But I am getting following error on command line -
[UnexpectedValueException] ...
2
votes
2answers
45 views
Composer merge conflicts
We have a develop branch.
Every new feature gets created on a branch that runs off the develop branch.
Then a pull request is made to the develop branch.
This triggers our CI/CD and slowly but ...
3
votes
2answers
114 views
Magento 2 : How to override a custom module which install via composer?
I have installed one custom module using composer as usually that module was installed in vendor directory is there any way to override phtml file in the same module like name but on app/code
module ...
2
votes
4answers
576 views
Magento 2: Composer Only Instalation
I'm trying to write up a tutorial explaining how to install Magento 2 only via composer, and use that tutorial as an in to exploring how third party composer repositories work. Looking at the current ...
4
votes
1answer
160 views
Magento2 | Which procedure to upgrade to 2.2.6 in area development / GIT?
We have started development on a Magento CE 2.2.5 and installed theme
/ modules and custom module. We are working with local project/server
versioned with GIT.
The gitignore file specify to ...
0
votes
0answers
16 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 ...
1
vote
0answers
29 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
1
vote
3answers
514 views
Composer install issue in Magento 2.3?
I have one issue when I run composer install command.
How to solve this issue.
Thanks.
0
votes
1answer
328 views
How to fix error in Web Setup Wizard - Command “show” failed: [Composer\Downloader\TransportException]
This is the error when I click on Extension Manager:
Command "show" failed: [Composer\Downloader\TransportException] The
'https://repo.wyomind.com/packages.json' URL required authentication.
You must ...
1
vote
2answers
2k views
Magento 2 not able to login to admin pane;
I just installed a plugin via composer. Note the site and admin panel worked just fine prior and the customer facing sie of the site seems to work fine. After the plugin install I then re-compiled via ...
3
votes
3answers
12k views
magento 2.2.6 to 2.3 upgrade fails with composer
I tried to upgrade my 2.2.6 Magento install with composer following the tutorial on Magento Website, but "composer update" fails with these errors :
Your requirements could not be resolved to an ...
1
vote
1answer
37 views
How to make my module available in github (via composer.json) in magento 2
I wish to make my module available in github repository and then i wish to install it to my local using composer.json. How is this possible? Please provide me a solution, to install my module using ...
1
vote
0answers
57 views
install magento on virtualbox from bitbucket
After I clone magento files from bitbucket, i try to run composer install
but it gives me this error,
"[RuntimeException] Failed to execute git clone --no-checkout
"ssh://git@stash.studio.com:7 ...
0
votes
1answer
98 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 ...
1
vote
0answers
129 views
Magento 2.3 Composer stuck while downloading https://repo.magento.com/packages.json
I have a problem since about 24 hours I guess.
When I try to download Magento 2 with composer I stuck after logging with my user-credentials. The credentials are ok, it pass and go through the next ...
1
vote
0answers
150 views
Magento Server is at 100% CPU after installing Extension
I just installed a new Extension via Composer:
$ composer require mageworx/module-advancedproductoptions
This is the output:
Using version ^2.16 for mageworx/module-advancedproductoptions
./...
2
votes
2answers
1k 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 ...
0
votes
2answers
940 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? ...
4
votes
1answer
461 views
Magento 2.1.5+ Composer Install Fails To Generate All Files
I have a project running on Magento 2.1.4, I have the bare minimum needed stored in a Git Repo, which I can clone and run composer install & php bin/magento setup:upgrade and all works fine; it ...
1
vote
0answers
50 views
Difference between Magento Composer install and release install
What are the differences between the various Magento installs?
I installed it using the released code from github(v2.3.0.zip) and I installed it using
composer create-project --repository=https://...
3
votes
2answers
712 views
When would you place a module in the app/code folder versus another location?
When would you place a module in the app/code folder versus another
location?
If I add new module in app/code folder with composer.json and another module in vendor folder using composer
What ...
0
votes
2answers
281 views
M2 - Uninstall language pack
I installed a language pack using composer.
$ composer require mageplaza/magento-2-german-language-pack:dev-master
$ php bin/magento cache:flush
Now when I try to uninstall again, using this command:...
0
votes
0answers
28 views
Convert from Cloud Enterprise to Enterprise issue
I passed my site from cloud to another server (with same files and some fixes on removing fastly) the site was up and no issues .
It was magento/magento-cloud-metapackage v 2.2.6 .
Now i want to ...