This repository was archived by the owner on Jan 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
How to install through composer #12
Copy link
Copy link
Open
Description
I tried to install the module using composer but as there is no composer.json
on the root of the project throws error while installation.
Steps Taken:
composer config repositories.meanbee-royalmail git https://github.com/meanbee/magento2-royalmail.git
composer require meanbee/module-royalmail -vvv
Getting this error during installation:
Writing /home/vagrant/.composer/cache/repo/https---github.com-meanbee-magento2-royalmail.git/780ec5d96f9df1f2da83bcca299724ec30976ed4 into cache
Skipped branch use-short-config-path, no composer file
[Composer\Repository\InvalidRepositoryException]
No valid composer.json was found in any branch or tag of https://github.com/meanbee/magento2-royalmail.git, could not load a package from it.
Exception trace:
() at phar:///usr/bin/composer/src/Composer/Repository/VcsRepository.php:275
Composer\Repository\VcsRepository->initialize() at phar:///usr/bin/composer/src/Composer/Repository/ArrayRepository.php:185
Composer\Repository\ArrayRepository->getPackages() at phar:///usr/bin/composer/src/Composer/DependencyResolver/Pool.php:104
Composer\DependencyResolver\Pool->addRepository() at phar:///usr/bin/composer/src/Composer/Command/InitCommand.php:596
Composer\Command\InitCommand->getPool() at phar:///usr/bin/composer/src/Composer/Command/InitCommand.php:633
Composer\Command\InitCommand->findBestVersionForPackage() at phar:///usr/bin/composer/src/Composer/Command/InitCommand.php:365
Composer\Command\InitCommand->determineRequirements() at phar:///usr/bin/composer/src/Composer/Command/RequireCommand.php:117
Composer\Command\RequireCommand->execute() at phar:///usr/bin/composer/vendor/symfony/console/Command/Command.php:267
Symfony\Component\Console\Command\Command->run() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:846
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:191
Symfony\Component\Console\Application->doRun() at phar:///usr/bin/composer/src/Composer/Console/Application.php:227
Composer\Console\Application->doRun() at phar:///usr/bin/composer/vendor/symfony/console/Application.php:122
Symfony\Component\Console\Application->run() at phar:///usr/bin/composer/src/Composer/Console/Application.php:100
Composer\Console\Application->run() at phar:///usr/bin/composer/bin/composer:54
require() at /usr/bin/composer:24
Please make the package composer friendly.
Metadata
Metadata
Assignees
Labels
No labels