I don’t know what’s the problem with this, but it keeps being a pain in the butt when working with composer. We have a Yii 2 project that does not face the web. Would it be possible to completely remove anything bower related? How?
Tried so far
rm -rf vendor/
Remove composer.lock
Remove any mention of bower-asset in composer.json
Yeah. Since Yii2 is fullstack framework, it installs many things some of which may be unused in the end. It is not a good idea to change Yii2 now and the problem is solved in Yii3.
Deprecation Notice: strlen(): Passing null to parameter #1 ($string) of
type string is deprecated in .config/composer/vendor/fxp/composer-asset-plugin/Converter/SemverUtil.php:148
Damn.
Oh, this was a vendor folder in my user home folder that needed to be removed.