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/yiisoft/jquery-pjax.git #329

Open
flashery opened this issue Nov 23, 2018 · 5 comments
Labels

Comments

@flashery
Copy link

flashery commented Nov 23, 2018

Hello I have some issue with composer installation after installing your package in composer globally. See the error below

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

cebe commented Nov 23, 2018

there is a bower.json here: https://github.com/yiisoft/jquery-pjax/blob/master/bower.json

can you show the command you used when you got the message above? also, if possible share your composer.json file so we can try to reproduce the issue.

@flashery
Copy link
Author

I don't know why but it fix the issue now when I did

composer clearcache

and when adding

"config": {
"fxp-asset": {
         enable: true
  }
}

When I run composer -vvv install it just installed all the packages without that error above.

@wilsonxyz
Copy link

i have same issue here.

C:\xampp\htdocs\pks>composer require --prefer-dist wbraganca/yii2-dynamicform "*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)


  [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 p
  ackage from it.


require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

@flashery
Copy link
Author

@wilsonxyz did you try what I did above?

@jmdemoor
Copy link

jmdemoor commented Mar 6, 2022

and when adding

"config": {
"fxp-asset": {
         enable: true
  }
}

@flashery I know this is old, but where did you put these settings? config.json? (I have the exact same message as @wilsonxyz )

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

No branches or pull requests

5 participants