-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Composer dependency problem #13247
Comments
fxpio/composer-asset-plugin#268
|
For those who faced this problem - try https://asset-packagist.org as an alternative.After adding asset-packagist to your composer.json, as it is described on the site do the following:
See https://asset-packagist.org/site/about to know more |
Relates fxpio/composer-asset-plugin#268 |
@SilverFire |
If your facing this problem:
to fix this situation you can add this to your composer.json
|
asset-packagist does not respect |
@mrserg161 paste the following content to
|
@bizley that's right. @hartmantam thank you for a right snippet. I've added it to my comment to make the solution complete. |
Related: composer/packagist#756 |
@lan143 forget about |
@SilverFire Im remove vendor folder before composer install. |
here is a simple workaround that does not include asset-packagist: fxpio/composer-asset-plugin#268 (comment) |
https://asset-packagist.org/site/about look this. |
@lan143 I didn't encountor this issue tho... and i don't have a |
well https://github.com/bower-asset/jquery.inputmask.git is 404 now |
I still have problem updating via composer
I cannot find a working solution to this problem though the issue is closed |
use asset-packagist.org instead composer-asset-plugin |
@Charius I can switch to asset-packagist, but is this the final solution ? I thought it was just a temporary workaround. |
@nkostadinov I guess it's not final solution, otherwise all the issues related with this in other projects are closed, so, there are other options, like https://packagist.org/packages/cebe/assetfree-yii2 |
Asset-packagist is not a temporary solution. It's a full alternative to |
No, it's not. It still doesn't have some features (and never will) that |
Well it is not compliant with the current solution. I have my composer packages with their bower dependencies and they do not work. It keeps installing them in vendor/bower. So now I have 60% installed in vendor/bower-asset and other 40% installed in vendor/bower. Does anyone know a fix for this ? |
@rob006 it's a full alternative for a general usage scenario. You are right, it does not cover some special cases described via the link you've provided.
Most probably https://asset-packagist.org does not know some of your required bower packages.
We've already imported top-1500 of npm and bower packages, but we are considering about importing more. |
Aha, I didn't know I have to SUBMIT the packages - that's important information. I thought that that asset-packagist.org did that automatically upon request from composer so you don't have to manually enter each. |
I can't execute
composer update
orcomposer install
because Yii2 depends on "bower-asset/jquery", which not longer exists (https://github.com/bower-asset/jquery)Any solution?
Thanks
Wokraround: #13247 (comment)
The text was updated successfully, but these errors were encountered: