postaddictme / instagram-php-scraper

Get account information, photos, videos, stories and comments.
https://packagist.org/packages/raiym/instagram-php-scraper
MIT License
3.08k stars 798 forks source link

Composer install #40

Closed JOniiX closed 7 years ago

JOniiX commented 7 years ago

I have a problem when i use the command "composer require raiym/instagram-php-scraper" :

C:\wamp64\www\insta>composer require raiym/instagram-php-scraper Using version ^0.4.1 for raiym/instagram-php-scraper ./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

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

Can you help me ?

Composer version: 1.2.1

raiym commented 7 years ago

@JOniiX hello. Just checked in clean directory, works for me. It seems that you have dependency intersection or version collision (http://stackoverflow.com/questions/20996767/requirements-could-not-be-resolved-to-an-installable-set-of-packages) Let me know if the problem persists. In future maybe we will give up unirest dependency.

JOniiX commented 7 years ago

I uninstall compose, then I have changed the version of composer to 1.0.0 and it's doesn't work and I put the latest version and i always this error. (sorry for my english)

duy-tran commented 7 years ago

I also have this problem I have tried to include "minimum-stability":"dev","prefer-stable":true, but no luck.

raiym commented 7 years ago

Sorry for long reply. If at the moment it is still important please re-open the issue

madeluxe commented 7 years ago

hey, i'm sorry. but what was the solution exactly?

can we please re-open this issue?

i tried to install same way like in first post here. and same result.

`composer require raiym/instagram-php-scraper Using version ^0.4.1 for raiym/instagram-php-scraper ./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

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

best

nickchong commented 6 years ago

Hey all,

I ran into the same issue and then updated the composer.json file changing the "name" key's value from raiym/instagram-php-scraper to something else (whatever you want) and it worked.

Thanks for the library raiym