0
votes

I work on YII project (advanced) and want to use JUI Extension for Yii 2 but getting this kind of error

Yii soft/yii2-jui 2.0.0 requires bower-asset/j query- Ui 1.11.*@stable -> no matching package found.

1
Try to add "yiisoft/yii2-jui": "~2.0.0" to the require section of your composer.json file.GAMITG
First take a a backup of your project. Try to update your composer. After updating it try to installl Jquery Ui againvijay nathji
@GAMITG this alredy try it but same error getting again and againHothi Jimit
@vijaynathji composer update used for composer i am right ??Hothi Jimit
yes by updating your composer you will able to install extension.vijay nathji

1 Answers

0
votes

Try this solution:

If you want to install the JUI extension for Yii2, you should do the following steps:

Run the following composer command:

php composer.phar require "fxp/composer-asset-plugin:~1.0"

Run
php composer.phar update

Run

php composer.phar require --prefer-dist yiisoft/yii2-jui