- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to install an extension on Magento 2.3. I'm following the guidance at https://devdocs.magento.com/extensions/install/.
I downloaded the extension (not from Magento Marketplace) and found the composer.json file. There I found this:
{ "name": "argoworks/core", "description": "Lightspeed Retail Integration", "type": "magento2-module", "version": "1.0.0.0", "license": [ "" ], "require": { "php": "~5.5.0|~5.6.0|~7.0.0", "magento/framework": "^100.0.0" }, "autoload": { "files": [ "registration.php" ], "psr-4": { "Argoworks\\Core\\": "" } } }
From the command line of my root Magento directory I ran this:
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ed_geis,
Try once without version.
composer require argoworks/core
In this method you don't need to copy your code in the magento repo. It will auto copied from repo while composer update command.
composer update
If you want to copy the code manually.
Then copy your module code in "app/code/Argoworks/Core" directory.
Then run the magento commands.
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
I hope it will help you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ed_geis,
Try once without version.
composer require argoworks/core
In this method you don't need to copy your code in the magento repo. It will auto copied from repo while composer update command.
composer update
If you want to copy the code manually.
Then copy your module code in "app/code/Argoworks/Core" directory.
Then run the magento commands.
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
I hope it will help you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: installing extension with composer gives error
Hello @ed_geis
because your auth.json does not match with the marketplace auth.json.
So check your auth.json credential the same as your marketplace credential.
Hope it will help you.
If works then mark solution.
Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: installing extension with composer gives error
Thank you, it seemed to work fine if I just installed manually without Composer.
Sorry for the delay responding. Appreciate the help very much.