search

Home  >  Q&A  >  body text

Encountered this problem when composer a library

I want to download gitHub: https://github.com/waylaidwan... this library
Prompt to download with composer
This package is available to be installed using Composer via Packagist.
composer require waylaidwanderer /php-steamcommunity
I typed in my cmd
composer require waylaidwanderer/php-steamcommunity
This popped up
Please provide a version constraint for the waylaidwanderer/php-steamcommunity requirement:
Then go to composer.json to see the version dependencies, enter ^2.0 or 3.7.14 and this error will be reported

< /p>

为情所困为情所困2861 days ago599

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-16 13:10:08

    You need to go to your project folder to use composer. There is also the System32 folder composer which does not have permission to write.

    reply
    0
  • Cancelreply