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

Not able to update composer.lock file #20

Closed
micahwalter opened this issue Nov 23, 2014 · 4 comments
Closed

Not able to update composer.lock file #20

micahwalter opened this issue Nov 23, 2014 · 4 comments

Comments

@micahwalter
Copy link

I keep getting this error when trying to update via composer.

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- The requested package hhvm could not be found in any version, there may be a typo in the package name.

Potential causes:

Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

@xyu
Copy link
Owner

xyu commented Nov 30, 2014

In order to generate a new composer.lock file you will need to either have hhvm installed (Heroku docs) or tell composer to ignore platform dependencies. The latter is easier you can simply use the following command:

$ composer update --ignore-platform-reqs

I've updated the README with this info as well:

2d69545

Thanks for filing an issue for this!

@griffiths
Copy link

I'm getting the following message when running composer update --ignore-platform-reqs:

[RuntimeException]
The "--ignore-platform-reqs" option does not exist.

Anyone know how to resolve this? Thank you!

@xyu
Copy link
Owner

xyu commented Jan 7, 2015

@griffiths try updating composer with composer selfupdate and try again.

@griffiths
Copy link

Nice one, thank you!

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

3 participants