composer install composer/package-versions-deprecated : Could not resolve hostname github.com: Name or service not known

I am trying to deploy a symfony4 app in cloudfoundry. I got an error with "composer/package-versions-deprecated":

  • Auto deploy(with gitlab-ci): I get this error below:
    sy

The same Error with cli local deploy(cf push)

composer.json:

 "minimum-stability": "beta",
    "prefer-stable": true,
    "repositories": [
   .......
    {
      "packagist": false
    },
    ...
  ],
    "require": {
        "php": "^7.1.3",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "composer/package-versions-deprecated": "^1.10",
... 

PHP version: 7.2; Symfony: 4.4.9; Composer Version: 1.7.2

Source: Symfony4 Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *