Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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. #123

Closed
kucheriavij opened this issue Aug 14, 2017 · 18 comments

Comments

@kucheriavij
Copy link

kucheriavij commented Aug 14, 2017

I install with the component of the php composer.phar requires dmstr/yii2-adminlte-asset "2. *". Returns [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.

@githubjeka
Copy link
Collaborator

What is command? php composer.phar command ...

https://getcomposer.org/doc/03-cli.md

@githubjeka
Copy link
Collaborator

We don't use your provided code DmitryBaranovskiy/eve.git

https://github.com/dmstr/yii2-adminlte-asset/blob/master/composer.json#L17-L23

@kucheriavij
Copy link
Author

Can be taken from dependencies?

@githubjeka
Copy link
Collaborator

@githubjeka githubjeka reopened this Aug 14, 2017
@kucheriavij
Copy link
Author

@githubjeka
Copy link
Collaborator

Update composer and fxp/composer-asset-plugin and try again.

All works fine
image

@schmunk42
Copy link
Member

I really wonder where this is coming from, see also #118 and #119

@francoispluchino Any idea?

@francoispluchino
Copy link

Because https://github.com/DmitryBaranovskiy/eve return 404 page not found... So, the eve package registred in the Bower Regsitry isn't valid.

@aravindSRM-India
Copy link

Adding VCS repository bower-asset/eve-raphael
Reading bower.json of bower-asset/eve-raphael (v0.5.0)
Importing tag v0.5.0 (0.5.0.0)
Adding VCS repository bower-asset/eve

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

Exception trace:
() at /home/aravind/.composer/vendor/fxp/composer-asset-plugin/Repository/AssetVcsRepository.php:44
Fxp\Composer\AssetPlugin\Repository\AssetVcsRepository->initialize() at phar:///usr/local/bin/composer/src/Composer/Repository/ArrayRepository.php:185
Composer\Repository\ArrayRepository->getPackages() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:104
Composer\DependencyResolver\Pool->addRepository() at /home/aravind/.composer/vendor/fxp/composer-asset-plugin/Repository/Util.php:71
Fxp\Composer\AssetPlugin\Repository\Util::addRepositoryInstance() at /home/aravind/.composer/vendor/fxp/composer-asset-plugin/Repository/Util.php:44
Fxp\Composer\AssetPlugin\Repository\Util::addRepository() at /home/aravind/.composer/vendor/fxp/composer-asset-plugin/Repository/AbstractAssetsRepository.php:141
Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository->whatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:204
Composer\DependencyResolver\Pool->computeWhatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Pool.php:193
Composer\DependencyResolver\Pool->whatProvides() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:161
Composer\DependencyResolver\RuleSetGenerator->whitelistFromPackage() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:273
Composer\DependencyResolver\RuleSetGenerator->whitelistFromJobs() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php:324
Composer\DependencyResolver\RuleSetGenerator->getRulesFor() at phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php:214
Composer\DependencyResolver\Solver->solve() at phar:///usr/local/bin/composer/src/Composer/Installer.php:472
Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:223
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/UpdateCommand.php:158
Composer\Command\UpdateCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:266
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:861
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:208
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:245
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:127
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:100
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:54
require() at /usr/local/bin/composer:24

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] []...

@aravindSRM-India
Copy link

I am sorry to say this. The solution is not working for me. I am newbie. Could you please explain in details?

@aravindSRM-India
Copy link

I hope this should be write solution.

I have updated composer.json as

"require": {
"php": ">=7",
"yiisoft/yii2": "~2.0.6",
"yiisoft/yii2-bootstrap": "~2.0.0",
"yiisoft/yii2-swiftmailer": "~2.0.0 || ~2.1.0",
"yiisoft/yii2-imagine": "*",
"almasaeed2010/adminlte":">=2",
"dmstr/yii2-adminlte-asset":">=2"
},
"config": {
"process-timeout": 1800,
"fxp-asset": {
"repositories": {
"bower-asset/eve": {
"type": "bower-vcs",
"url": "https://github.com/adobe-webplatform/eve.git"
}
}
}
},

@schmunk42
Copy link
Member

@schmunk42
Copy link
Member

Please see #133 (comment)

@tamersolieman
Copy link

tamersolieman commented Jan 31, 2018

@araviaravi Thanks the issue was resolved when I add

  "config": {
    "process-timeout": 1800,
      "fxp-asset": {
        "repositories": {
          "bower-asset/eve": {
          "type": "bower-vcs",
          "url": "https://github.com/adobe-webplatform/eve.git"
          }
        }
      }
  },

@bitsnaps
Copy link

I had the same issue, it was OpenSSL version, I had to upgrade it using the following procedure:
https://www.apachefriends.org/blog/heartbleed-bug.html

@arungangula
Copy link

I am facing the similar issue. Tried every possible thing mentioned above.
Here is my composer.json require

"require": {
        "php": "~7.0.0",
        "yiisoft/yii2": "2.0.*",
        "yiisoft/yii2-bootstrap": "2.0.5",
        "yiisoft/yii2-swiftmailer": "2.0.4",
        "almasaeed2010/adminlte": "2.3.2",
        "FortAwesome/Font-Awesome": "4.3.0",
        "kartik-v/yii2-widget-sidenav": "1.0.0",
        "kartik-v/yii2-export": "1.2.4",
        "mdmsoft/yii2-admin": "1.0.5",
        "dmstr/yii2-adminlte-asset": "2.2.4",
        "2amigos/yii2-ckeditor-widget": "1.0.4",
        "aws/aws-sdk-php": "3.15.2",
        "bower-asset/cropper": "2.2.5",
        "eonasdan/bootstrap-datetimepicker": "4.17.47",
        "select2/select2": "4.0.1",
        "bower-asset/magnific-popup": "1.0.0",
        "guzzlehttp/guzzle": "~6.0",
        "phpoffice/phpexcel": "^1.8",
        "bower-asset/sweetalert": "1.1.1",
        "bower-asset/TableDnD": "0.9.1",
        "bower-asset/tooltipster": "3.3.0",
        "yiisoft/yii2-redis": "*",
        "kajol22/yii2-resque": "*",
        "phpseclib/phpseclib": "^2.0",
        "google/apiclient": "^2.0",
        "googleads/googleads-php-lib": "^32.0"
    }

and here is the error i get

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

@predatorlg
Copy link

@araviaravi Thanks the issue was resolved when I add

  "config": {
    "process-timeout": 1800,
      "fxp-asset": {
        "repositories": {
          "bower-asset/eve": {
          "type": "bower-vcs",
          "url": "https://github.com/adobe-webplatform/eve.git"
          }
        }
      }
  },

Thanks. The issue was resolved when I add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants