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

Problem with package name "Blockchain/Blockchain" #43

Closed
BrianHenryIE opened this issue Mar 30, 2022 · 1 comment
Closed

Problem with package name "Blockchain/Blockchain" #43

BrianHenryIE opened this issue Mar 30, 2022 · 1 comment

Comments

@BrianHenryIE
Copy link
Owner

"/Users/brianhenry/Sites/woocommerce-gateway-bitcoin/vendor/blockchain/blockchain/composer.json" does not match the expected JSON schema:
 - name : Does not match the regex pattern ^[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9](([_.]?|-{0,2})[a-z0-9]+)*$Script vendor/bin/strauss handling the post-update-cmd event returned with error code 1
{
    "name": "Blockchain/Blockchain",
    "description": "Blockchain API client library",
    "keywords": ["bitcoin", "blockchain"],
    "homepage": "https://github.com/blockchain/api-v1-client-php",
    "license": "MIT",
    "autoload": {
        "psr-4": {
            "Blockchain\\": "src/"
        }
    },
    "require": {
        "php": ">=5.3.0",
        "ext-curl": "*"
    }
}

Manually editing the package name to "blockchain/blockchain" fixed it.

@BrianHenryIE
Copy link
Owner Author

Package has since been deleted from GitHub.

https://packagist.org/packages/blockchain/blockchain

https://github.com/blockchain/api-v1-client-php

Attempting to set "Blockchain/Blockchain" in the project composer.json results in:

  require.Blockchain/Blockchain is invalid, it should not contain uppercase characters. Please use blockchain/blockchain instead.  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant