M
M
Maxim Fedorov2017-10-10 13:56:38
PHP
Maxim Fedorov, 2017-10-10 13:56:38

How to catch Composer error?

Some garbage got out, when composer update or adding a new package, an error pops up

Composer error
[Composer\Repository\InvalidRepositoryException]                                                                                       
No valid bower.json was found in any branch or tag of https://github.com/DmitryBaranovskiy/eve.git, 
could not load a package from it.

Composer is configured to work with asset-packagist.org
If I remove it from composer.json
{
            "type": "composer",
            "url": "https://asset-packagist.org"
        }

That works, some package was killed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-10-10
@Maksclub

Good afternoon.
Is there such a thing?

"require": {
    "bower-asset/bootstrap": "^3.3",
    "npm-asset/jquery": "^2.2"
}

And check bower.json, the problem must be in this file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question