Installation & Varnish Test Results Failed on Magento Marketplace
Magento Marketplace Installation & Varnish Test Results
composer.json
{
"name": "vendor/preorder",
"description": "Pre Order",
"type": "magento2-module",
"version": "2.0.0",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"php": "~7.1.3||~7.2.0||~7.3.14||~7.3.0||~7.3.1||~7.3.2||~7.3.3||~7.3.4||~7.3.5||~7.3.6||~7.3.7||~7.3.8||~7.3.9||~7.3.10||~7.3.11||~7.3.12||~7.3.13"
},
"extra": {
"installer-paths": {
"app/code/Vendor/Preorder": ["vendor/preorder"]
}
},
"autoload": {
"files": ["registration.php"],
"psr-4": {
"Vendor\\Preorder\\": ""
}
}
}
[Composer\Downloader\TransportException]
The "https://repo.magento.com/packages.json" file could not be downloaded (HTTP/1.1 500 Internal Server Error)
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...
-
There is an issue from Magento marketplace, they are fixing it.Kamal Asawara– Kamal Asawara2020年06月15日 16:00:30 +00:00Commented Jun 15, 2020 at 16:00
2 Answers 2
Updated
I have solved this by adding a auth.json file in the root
{
"http-basic": {
"repo.magento.com": {
"username": "<public_key>",
"password": "<private_key>"
}
}
}
Refer this https://devdocs.magento.com/guides/v2.3/install-gde/prereq/dev_install.html
-
what do you mean in the root? module directory?Mohit Rane– Mohit Rane2020年06月19日 11:19:55 +00:00Commented Jun 19, 2020 at 11:19
-
create a auth,json file in root directoryDivya Sekar– Divya Sekar2020年06月19日 11:22:09 +00:00Commented Jun 19, 2020 at 11:22
-
you mean in the marketplace? do you have a path or steps to follow?Mohit Rane– Mohit Rane2020年06月19日 11:28:16 +00:00Commented Jun 19, 2020 at 11:28
-
yes, you have to add auth.json file in root folder for upload a module package in magento marketplace if you have any doubtsDivya Sekar– Divya Sekar2020年06月19日 11:30:57 +00:00Commented Jun 19, 2020 at 11:30
-
1the path is myvendor_mymodule-2.0.2/auth.json used in magento marketplaceDivya Sekar– Divya Sekar2020年06月19日 12:36:59 +00:00Commented Jun 19, 2020 at 12:36
I had the same issue, it was from their side, but for someone else having the same issue, I recommend to check this answer and this Devdocs page.
Explore related questions
See similar questions with these tags.