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"
    }
],
...
}
2
  • Are you still receiving this issue? BTW, you shouldn't push your extension on packagist. Commented Mar 29, 2017 at 14:02
  • i didn't tried since this post was created. Yesterday the extension was approved (without a package) Commented Mar 31, 2017 at 18:45

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.