Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer v2.3.3 have a error in Downloader.php #10706

Closed
Axent96 opened this issue Apr 5, 2022 · 2 comments
Closed

Composer v2.3.3 have a error in Downloader.php #10706

Axent96 opened this issue Apr 5, 2022 · 2 comments
Labels

Comments

@Axent96
Copy link

Axent96 commented Apr 5, 2022

Error message on "composer install":

In Downloader.php line 170:

Undefined index: manifests

It heaping only on first time & if we rerun composer install then it say nothing to install & work well

My composer.json:

{
    "name": "test/test-service",
    "description": "1.0.0",
    "type": "project",
    "license": "proprietary",
    "require": {
        "php": "^7.1.3",
        "ext-iconv": "*",
        "symfony/maker-bundle": "~1.5.0",
        "doctrine/common": ">=2.8.1 <=2.8.1",
        "doctrine/doctrine-bundle": "~1.9.1",
        "doctrine/doctrine-fixtures-bundle": "~3.0.2",
        "doctrine/orm": "~2.6.1",
        "dunglas/doctrine-json-odm": "~1.0.1",
        "eightpoints/guzzle-bundle": "~7.6.1",
        "jms/serializer-bundle": "~3.4.1",
        "mark-gerarts/automapper-plus-bundle": "~1.1.0",
        "sensio/framework-extra-bundle": "~5.1.6",
        "symfony/asset": "~4.4.0",
        "symfony/browser-kit": "~4.4.0",
        "symfony/console": "~4.4.0",
        "symfony/flex": "~1.9.8",
        "symfony/framework-bundle": "~4.4.0",
        "symfony/monolog-bundle": "~3.5.0",
        "symfony/property-access": "~4.4.0",
        "symfony/yaml": "~4.4.0",
        "syslogic/doctrine-json-functions": "~2.1.0"
    },
    "require-dev": {
        "phpstan/phpstan": "^0.12.83",
        "symfony/debug": "~4.4.0",
        "symfony/dotenv": "~4.4.0",
        "symfony/phpunit-bridge": "~4.4.3",
        "symfony/var-dumper": "~4.4.0"
    },
    "config": {
        "preferred-install": {
            "*": "dist"
        },
        "sort-packages": true,
        "process-timeout": 800
    },
    "autoload": {
        "psr-4": {
            "App\\": "src/App"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "App\\Tests\\": "tests/"
        }
    },
    "replace": {
        "symfony/polyfill-iconv": "*",
        "symfony/polyfill-php71": "*",
        "symfony/polyfill-php70": "*",
        "symfony/polyfill-php56": "*"
    },
    "scripts": {
        "auto-scripts": {
            "cache:clear": "symfony-cmd",
            "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
        },
        "post-install-cmd": [
            "@auto-scripts"
        ],
        "post-update-cmd": [
            "@auto-scripts"
        ],
        "update-phars": [
            "@php composer self-update"
        ],
        "test": [
            "echo 'Run test in product-service'",
            "composer validate --strict",
            "vendor/bin/phpstan.phar analyze --level=4 --configuration=.php-stan.neon src"
        ]
    },
    "conflict": {
        "symfony/symfony": "*"
    },
    "extra": {
        "symfony": {
            "id": "01C8Z9QWGJJ3RPXPW6WCEKFQBK",
            "allow-contrib": true
        }
    }
}

Output of composer diagnose:

Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
OK
Checking composer version: OK
Composer version: 2.3.3
PHP version: 7.2.4
PHP binary path: /usr/local/bin/php
OpenSSL version: OpenSSL 1.1.1l  24 Aug 2021
cURL version: 7.79.1 libz 1.2.11 ssl OpenSSL/1.1.1n
zip: extension present, unzip present, 7-Zip not available
@colinodell
Copy link
Contributor

It looks like you're using an older version of Symfony Flex - see symfony/flex#890 for an explanation of the issue and how to fix it.

@Seldaek
Copy link
Member

Seldaek commented Apr 6, 2022

Yes.. also as usual (and as you'd have done if you followed the issue template..) please submit a full stack trace, that would have highlighted the problem was not in Composer directly.

@Seldaek Seldaek closed this as completed Apr 6, 2022
@Seldaek Seldaek added the Support label Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants