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

Can't install via Composer without adding repos to composer.json #15

Open
erikhansen opened this issue Oct 25, 2019 · 0 comments
Open

Comments

@erikhansen
Copy link

I tried running this command, but got an error:

composer require integer-net/anonymizer
[InvalidArgumentException]
  Could not find a matching version of package integer-net/anonymizer. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stab
  ility (stable).

I then added this repo as a Composer repository and re-ran the composer command, but got another error:

composer config repositories.integer-net/anonymizer git git@github.com:integer-net/Anonymizer.git
composer require integer-net/anonymizer
…
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for integer-net/anonymizer ^2.1 -> satisfiable by integer-net/anonymizer[v2.1.0].
    - integer-net/anonymizer v2.1.0 requires firegento/psr0autoloader >=0.1.0 -> no matching package found.

I then had to add another repo:

composer config repositories.magento-hackathon/psr0autoloader git git@github.com:magento-hackathon/Magento-PSR-0-Autoloader.git

Can you update the readme to note what Composer repositor(ies) should be added before running composer require integer-net/anonymizer?

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