Giter Club home page Giter Club logo

Comments (9)

fedeisas avatar fedeisas commented on August 16, 2024

I have the same problem. Solved it with: composer update --prefer-dist until I investigate further.

from super_closure.

jeremeamia avatar jeremeamia commented on August 16, 2024

Just did:

$ cat composer.json 
{
    "require": {
        "jeremeamia/superclosure": "~1.0.0"
    }
}
$ composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
  - Installing nikic/php-parser (v0.9.4)
    Downloading: 100%         

  - Installing jeremeamia/superclosure (1.0.1)
    Downloading: 100%         

Writing lock file
Generating autoload files

This works just fine for me. Try self-updating composer maybe?

from super_closure.

Ocramius avatar Ocramius commented on August 16, 2024

Same here, works smoothly. Some other dependency is probably excluding nikic/php-parser:0.9.* - this is not an issue of super_closure imo

from super_closure.

barryvdh avatar barryvdh commented on August 16, 2024

I'm also suddenly having this issue, also with Laravel.

Problem 1
    - Installation request for jeremeamia/superclosure 1.0.1 -> satisfiable by jeremeamia/SuperClosure[1.0.1].
    - jeremeamia/SuperClosure 1.0.1 requires nikic/php-parser ~0.9 -> no matching package found.
Problem 2
    - jeremeamia/SuperClosure 1.0.1 requires nikic/php-parser ~0.9 -> no matching package found.
    - laravel/framework 4.1.x-dev requires jeremeamia/superclosure 1.0.* -> satisfiable by jeremeamia/SuperClosure[1.0.1].
    - Installation request for laravel/framework 4.1.x-dev -> satisfiable by laravel/framework[4.1.x-dev].

from super_closure.

barryvdh avatar barryvdh commented on August 16, 2024

Fixed it by removing the vendor dir and composer.lock and just do a fresh install. So maybe some Composer caching issue?

from super_closure.

penoonan avatar penoonan commented on August 16, 2024

Thanks for the help everyone. Of all the suggested solutions, the only one I tried was barryvdh's (remove the vendor dir and composer.lock, do a fresh install). It worked! I'm closing this because it looks like it has more to do with Composer than with Super Closure.

from super_closure.

crynobone avatar crynobone commented on August 16, 2024

It's mainly due to reason nikic/PHP-Parser@0ac054a commit. When you run update composer still assume dev-master is aliased to 0.9 which cause this issue. And I seen this issue on almost all project that swap dev-master alias.

So removing composer.lock is the best solution right now.

from super_closure.

jeremeamia avatar jeremeamia commented on August 16, 2024

Ah, interesting. Do I or @nikic need to fix anything? How can these types of things be avoided in the future.

from super_closure.

crynobone avatar crynobone commented on August 16, 2024

@jeremeamia it's a composer issue.

composer/composer#1105
composer/composer#1137

There seem to be a WIP PR: composer/composer#1352

from super_closure.

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.