You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing composer update issues with a certain bower-asset plugin.
composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- yiisoft/yii2-gii 2.0.4 requires bower-asset/typeahead.js 0.10.* -> no matching package found.
- yiisoft/yii2-gii 2.0.3 requires bower-asset/typeahead.js 0.10.* -> no matching package found.
- yiisoft/yii2-gii 2.0.2 requires bower-asset/typeahead.js 0.10.* -> no matching package found.
- yiisoft/yii2-gii 2.0.1 requires bower-asset/typeahead.js 0.10.* -> no matching package found.
- yiisoft/yii2-gii 2.0.0 requires bower-asset/typeahead.js 0.10.* -> no matching package found.
- Removal request for yiisoft/yii2-gii == 2.0.9999999.9999999-dev
- Installation request for yiisoft/yii2-gii 2.* -> satisfiable by yiisoft/yii2-gii[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.x-dev].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
While not having any of the usual problems, I noticed this:
$ composer update --prefer-dist -v
Loading composer repositories with package information
Updating dependencies (including require-dev)
Adding VCS repository bower-asset/jquery
Adding VCS repository bower-asset/typeahead.js
Reading bower.json of bower-asset/typeahead.js (v0.11.1)
Importing tag v0.11.1 (0.11.1.0)
Reading bower.json of bower-asset/typeahead.js (v0.11.0)
Importing tag v0.11.0 (0.11.0.0)
- Removing bower-asset/typeahead.js (v0.10.5)
- Installing bower-asset/typeahead.js (v0.11.1)
Loading from cache
Extracting archive
Writing lock file
Generating autoload files
The tag versions with v prefix or without prefix are scanned, it's the standard behavior of Composer. Do you use the latest stable version of the plugin?
Fixed for me. The only thing that worked in the end was removing my entire vendor folder.
Before that I tried to update the plugin, removed lock-file, removed all composer caches(!), removed all bower packages and gii. Did not help - just for reference.
I am experiencing
composer update
issues with a certainbower-asset
plugin.While not having any of the usual problems, I noticed this:
There's a
0.11.1
tag in the versions list.Could it be that this tag makes the asset-plugin stop scanning tags with
v
prefix?I tried to fix this by using an alias, but this one does not work:
This one worked:
Related issues:
Fix - in my case:
The text was updated successfully, but these errors were encountered: