Skip to content

Dependency dmore/chrome-mink-drive Causing A Failed Composer create:project #870

@ersonjn

Description

@ersonjn

Full output can be found here: https://gist.github.com/ersonjn/e7b1f6758f0ea74a2273273e099582c6

The package dmore/behat-chrome-extension which is listed in the require-dev of composer.json is dependent on the failing package: dmore/chrome-mink-driver as the URL provided in the composer.lock file fetches a .tar.gz file instead of an actual .zip file as mentioned in the dist link provided.

See composer.lock:

            "name": "dmore/chrome-mink-driver",
            "version": "2.8.0",
            "source": {
                "type": "git",
                "url": "https://gitlab.com/DMore/chrome-mink-driver.git",
                "reference": "f85c8f86ca2e9000119c310577a6942683f7e280"
            },
            "dist": {
                "type": "zip",
                "url": "https://gitlab.com/api/v4/projects/DMore%2Fchrome-mink-driver/repository/archive.zip?sha=f85c8f86ca2e9000119c310577a6942683f7e280",
                "reference": "f85c8f86ca2e9000119c310577a6942683f7e280",
                "shasum": ""
            },

This throws an error, see:
image

Replicated locally:
image

This particularly affects users/developers who use Terminus Build Tools for spinning up WordPress sites with CI/CD in Pantheon. A workaround in the meantime is to manually update the local composer.lock file.

It appears to be breaking in release/v2.4.4.

See: https://github.com/pantheon-systems/example-wordpress-composer/blob/8e43ad3b9f731491e8291ef0e0a47285d6e07000/composer.lock#L1450C1-L1462C15

Composer version 2.7.1 2024-02-09 15:26:28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions