Coder Social home page Coder Social logo

Comments (4)

padraic avatar padraic commented on May 29, 2024

The caret operator is a valid version constraint on mini version? The package in question is semantically versioned and I've had no issues installing here.

https://getcomposer.org/doc/01-basic-usage.md#next-significant-release-tilde-and-caret-operators-

from humbug.

Anahkiasen avatar Anahkiasen commented on May 29, 2024

Just do composer self-update, it's a recent feature of Composer

from humbug.

ara-ta3 avatar ara-ta3 commented on May 29, 2024

Thanks @padraic and @Anahkiasen .

When I ran php composer.phar validate after running php -r "readfile('https://getcomposer.org/installer');" | php, the console said ./composer.json is valid.

My composer's version is 1.0.0-alpha9 and latest composer.phar's version is 1.0-dev (1d8f05f1dd0e390f253f79ea86cd505178360019), so this occurred.
My composer is installed by brew install composer on Mac.

If the composer is latest, this composer.json is valid, so this issue is needless I think.

Please listen as just a question.
If I run brew install composer, the composer's version is 1.0.0-alpha9 now.
Then, what should I do??
I mean should I run composer self-update ?
or should I run php -r "readfile('https://getcomposer.org/installer');" | php to install the latest composer.phar ??

from humbug.

GrahamCampbell avatar GrahamCampbell commented on May 29, 2024

You need a version newer than 1.0.0-alpha9.

from humbug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.