Code Monkey home page Code Monkey logo

Comments (11)

francoispluchino avatar francoispluchino commented on May 21, 2024

What is error that have you?

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 21, 2024

Ok, I just reproduce the behavior, I corrects the bug.

from composer-asset-plugin.

napsio avatar napsio commented on May 21, 2024

The error is:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package bower-asset/jquery.ui could not be found in any vers
ion, there may be a typo in the package name.

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 21, 2024

You will not find either the package with the commands show and search:

composer show bower-asset/jquery.ui
composer search bower-asset/jquery.ui

from composer-asset-plugin.

napsio avatar napsio commented on May 21, 2024

On the show command the result is:

[InvalidArgumentException]
Package bower-asset/jquery.ui not found

But if I try:

composer search jquery.ui

there is bower-asset/jquery.ui in the results.

I dumped the $composer variable in the GitHubDriver::getComposerInformation method. The result was:

Array
(
    [name] => jquery-ui
    [ignore] => Array
        (
            [0] => **/.*
            [1] => build
            [2] => demos
            [3] => external
            [4] => tests
        )

    [dependencies] => Array
        (
            [jquery] => >=1.6
        )

    [devDependencies] => Array
        (
            [jquery-mousewheel] => 3.1.11
            [jshint] => 2.4.4
            [qunit] => 1.14.0
            [jquery-1.6.0] => jquery#1.6.0
            [jquery-1.6.1] => jquery#1.6.1
            [jquery-1.6.2] => jquery#1.6.2
            [jquery-1.6.3] => jquery#1.6.3
            [jquery-1.6.4] => jquery#1.6.4
            [jquery-1.7.0] => jquery#1.7.0
            [jquery-1.7.1] => jquery#1.7.1
            [jquery-1.7.2] => jquery#1.7.2
            [jquery-1.8.0] => jquery#1.8.0
            [jquery-1.8.1] => jquery#1.8.1
            [jquery-1.8.2] => jquery#1.8.2
            [jquery-1.8.3] => jquery#1.8.3
            [jquery-1.9.0] => jquery#1.9.0
            [jquery-1.9.1] => jquery#1.9.1
            [jquery-1.10.0] => jquery#1.10.0
            [jquery-1.10.1] => jquery#1.10.1
            [jquery-1.10.2] => jquery#1.10.2
            [jquery-1.x] => jquery#1.10.2
            [jquery-2.0.0] => jquery#2.0.0
            [jquery-2.0.1] => jquery#2.0.1
            [jquery-2.0.2] => jquery#2.0.2
            [jquery-2.0.3] => jquery#2.0.3
        )

    [time] => 2014-07-17T15:30:31Z
    [support] => Array
        (
            [source] => https://github.com/jquery/jquery-ui/tree/master
        )

)

So the right repository can be found, but it would be stored as jquery-ui in the packages collection insead of jquery.ui

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 21, 2024

Problem found: in the file bower.json, the name of package is "jquery-ui" and not "jquery.ui" (https://github.com/jquery/jquery-ui/blob/master/bower.json)

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 21, 2024

I will avoid replacing the package name found in the file.

from composer-asset-plugin.

napsio avatar napsio commented on May 21, 2024

Yes, that's the problem, like I wrote in the first post.

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 21, 2024

Sorry, I had mistranslated...

from composer-asset-plugin.

napsio avatar napsio commented on May 21, 2024

No problem :)

from composer-asset-plugin.

francoispluchino avatar francoispluchino commented on May 21, 2024

Fixed (see d6aa913).

from composer-asset-plugin.

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.