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

Cannot install package due to last commit #133

Closed
za4me opened this issue Sep 25, 2017 · 11 comments
Closed

Cannot install package due to last commit #133

za4me opened this issue Sep 25, 2017 · 11 comments

Comments

@za4me
Copy link

za4me commented Sep 25, 2017

https://github.com/dmstr/yii2-adminlte-asset/commit/2dd0e2b38bf57b76fdcf65c5363a1fafe8e0bc7c Hello. I think this commit breaks install package because almasaeed2010/adminlte dependencies cannot find DmitryBaranovskiy/eve.git repository.

@schmunk42
Copy link
Member

schmunk42 commented Sep 25, 2017

I've created an FAQ section due to this "issue" https://github.com/dmstr/yii2-adminlte-asset/blob/master/README.md#faq

@locsob
Copy link

locsob commented Oct 15, 2017

I have update fxpio to 1.4.1 and composer self-update 1.5.2., but still https://github.com/Dm
itryBaranovskiy/eve.git, could not load a package from it.

@schmunk42
Copy link
Member

Sorry, I can't tell why this is happening over an over.
Please clear composer caches and/or vendor and try again.

@locsob
Copy link

locsob commented Oct 17, 2017 via email

@schmunk42
Copy link
Member

Can you post a composer.json with which this is happening?

@locsob
Copy link

locsob commented Oct 17, 2017 via email

@schmunk42
Copy link
Member

schmunk42 commented Oct 17, 2017

Found the culprit :) Thanks for sharing the composer.json

"dmstr/yii2-adminlte-asset": ">2"

Simply remove the = there's an issue with 2.0 which requires bower-asset/adminlte, which requires "eve".


Related hiqdev/asset-packagist#72

@no888name
Copy link

no888name commented Jan 18, 2018

The same error for the "dmstr/yii2-adminlte-asset": "^1" :
[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.

@leroyakg
Copy link

as @litvinovandrew said, I also get same error with version 1

@schmunk42
Copy link
Member

schmunk42 commented Jan 25, 2018

Hmm, we do not really support 1.x since a while.

I hesitate to do a 1.2 release which switches to "AdminLTE" via composer or npm; it might break other things.

I'd suggest the following:

  • create a fork
  • add it to repositories in your project's composer.json
  • change the composer.json of the fork to use composer or npm
  • adjust the AssetBundle paths in the fork
  • update
  • report if this fixes your issue

@schmunk42
Copy link
Member

You can also try this workaround: #123 (comment)

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

5 participants