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
Still getting crap like:
- yiisoft/yii2 2.0.47 requires bower-asset/jquery 3.6.*@stable | 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> no matching package found.
Why would I need jQuery in a non-web project?