3

I'm trying to publish extension to the magento marketplace. I receive an error when i press submit button on magento's web from:

Can't connect to package repository

enter image description here

i have added my GitHub repository to package's composer.json. But i still receive this message.

According to documentation, i can just publish my extension to github and reference it from composer (it think it is about 'require' composer section) magento doc

What i'm doing wrong? How to publish my package without this unclear error? Should i push my package to packagist?

composer.json:

{
  "name": "myvendorname/myextname",
...
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/myvendorname/repo"
    }
],
...
}
  • Are you still receiving this issue? BTW, you shouldn't push your extension on packagist. – Valery Statichnyi Mar 29 '17 at 14:02
  • i didn't tried since this post was created. Yesterday the extension was approved (without a package) – burzhuy Mar 31 '17 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.