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

composer install failed #1

Open
edwink1985 opened this issue Sep 25, 2018 · 3 comments
Open

composer install failed #1

edwink1985 opened this issue Sep 25, 2018 · 3 comments

Comments

@edwink1985
Copy link

composer require pendonl/php-club-dataservice

Key license is a duplicate in ./composer.json at line 29
Using version ^0.1.0 for pendonl/php-club-dataservice
./composer.json has been updated
Key license is a duplicate in ./composer.json at line 30
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 pendonl/php-club-dataservice No version set (parsed
as 1.0.0) is satisfiable by pendonl/php-club-dataservice[No version set (parsed
as 1.0.0)] but these conflict with your requirements or minimum-stability.

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

@joshuadegier
Copy link
Collaborator

Can't reproduce.. can't recognize your error either. Looks like you've screwed up your composer.json file.

> composer require pendonl/php-club-dataservice
Using version ^0.1.0 for pendonl/php-club-dataservice
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 5 installs, 0 updates, 0 removals
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
  - Installing guzzlehttp/guzzle (6.3.3): Loading from cache
  - Installing pendonl/php-club-dataservice (v0.1): Downloading (100%)
guzzlehttp/guzzle suggests installing psr/log (Required for using the Log middleware)
Writing lock file
Generating autoload files

@edwink1985
Copy link
Author

ik heb het bestand van de site afgehaald en de volgende regel in command gedraait
composer require pendonl/php-club-dataservice

ik zag wel dat er 2 x license instond heb de onderste nu verwijderd
maar krijg nog steeds een foutmelding

misschien dat de json file is verouderd op de site heb je eventueel

"C:\xampp\htdocs\knvb>composer require pendonl/php-club-dataservice
Using version ^0.1.0 for pendonl/php-club-dataservice
./composer.json has been updated
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 pendonl/php-club-dataservice No version set (parsed
as 1.0.0) is satisfiable by pendonl/php-club-dataservice[No version set (parsed
as 1.0.0)] but these conflict with your requirements or minimum-stability."

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

misschien dat de json file is verouderd op de site heb je eventueel

@joshuadegier
Copy link
Collaborator

Het is niet de bedoeling dat je de file kopieert van Github. Je kunt in een lege map simpelweg composer require pendonl/php-club-dataservice doen, composer maakt vervolgens de nodige files en directories aan.

Even bij het begin beginnen: https://getcomposer.org/doc/01-basic-usage.md

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