Skip to content
New issue

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

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

Already on GitHub? # 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. #128

Closed
yamalweb opened this issue Sep 20, 2017 · 4 comments

Comments

@yamalweb
Copy link

I'm trying to install
php composer.phar require dmstr/yii2-adminlte-asset "2.*"

./composer.json has been updated
Loading composer repositories with package information Updating dependencies (including require-dev) Your GitHub credentials are required to fetch private repository metadata (https://github.com/DmitryBaranovskiy/eve.git)
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+webfoms+2017-09-20+0933
to retrieve a token. It will be stored in "/home/vagrant/.config/composer/auth.json" for future use by Composer.
Token (hidden):
Token stored successfully.

Installation failed, reverting ./composer.json to its original content.

                                                                                                                                         
  [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.  
@schmunk42
Copy link
Member

You're missing an auth token for GitHub, please also update your composer binary.

Duplicates:

@schmunk42
Copy link
Member

Please see #133 (comment)

@tamersolieman
Copy link

tamersolieman commented Jan 31, 2018

The issue resolved when I add this section to composer.json file


  "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

@tamersolieman Thank you, this is the best solution, I think! I added that to the FAQ section.

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

No branches or pull requests

3 participants