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

Your requirements could not be resolved to an installable set of packages. #1

Closed
mohammadhamzehloui opened this issue Apr 20, 2015 · 4 comments

Comments

@mohammadhamzehloui
Copy link

Hi
I tried to install it, based on your documentation, by using :
composer require Maks3w/SwaggerAssertions
it then asks for entering the version, below is the message:

Please provide a version constraint for the Maks3w/SwaggerAssertions requirement :
I tried 0.1.2, and some other like 0.1.1

and below is the error that I get :

Your requirements could not be resolved to an installable set of packages.

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

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

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

Installation failed, reverting ./composer.json to its original content.

I also tried to clone the project and run it locally, but then I get the below error:

  [RuntimeException]
  Could not load package fr3d/swagger-assertions in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^0.3.1: Invalid ver
  sion string "^0.3.1"



  [UnexpectedValueException]
  Could not parse version constraint ^0.3.1: Invalid version string "^0.3.1"
@Maks3w
Copy link
Owner

Maks3w commented Apr 20, 2015

Please update composer and tell me if works.

@mohammadhamzehloui
Copy link
Author

Updated composer:
You are already using composer version a32c91914558a3ff293d83f7b99c49f4a7931798.

Run:

composer require Maks3w/SwaggerAssertions

error that I get now:

[InvalidArgumentException]
Could not find package Maks3w/SwaggerAssertions at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

@Maks3w
Copy link
Owner

Maks3w commented Apr 20, 2015

Sorry package name is wrong. use fr3d/swagger-assertions

@Maks3w Maks3w closed this as completed Apr 20, 2015
@mohammadhamzehloui
Copy link
Author

Yup, it worked, thanks a lot.

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

2 participants