Skip to content

Could not find a matching version of package

I have uploaded my magento 2 module to GitHub, and published my private module to https://packagist.com/. Now module published successfully as below.

enter image description here

And my composer as below

{
    "name": "vlcsolutions/module-connector",
    "description": "Business Central Express Connect",
    "require": {
        "php": "~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0"
    },"minimum-stability": "dev-main",
"repositories": {
    "type": "composer",
    "url": "https://repo.packagist.com/vlcsolutions/"
},
    "type": "magento2-module",
    "version": "2.2.0",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "autoload": {
        "files": [
            "registration.php"
        ],
        "psr-4": {
            "vlcsolutions\connector\": ""
        }
    }
}

When I installing composer require vlcsolutions/module-connector:dev-stable the module getting below error.

enter image description here

Can you please suggest me where I went wrong?