2amigos / yii2-select2-widget

Select 2 jQuery plugin for Yii2 with Bootstrap theme capabilities
http://2amigos.us
Other
7 stars 6 forks source link

Problem wher composer install #3

Open maxim-kn-akvilon opened 6 years ago

maxim-kn-akvilon commented 6 years ago

When I make "composer require 2amigos/yii2-select2-widget"

Problem 1

twinpigs commented 6 years ago
Your requirements could not be resolved to an installable set of packages.                               

  Problem 1
    - Installation request for 2amigos/yii2-select2-widget ^0.1.2 -> satisfiable by 2amigos/yii2-select2-widget[0.1.2].
    - 2amigos/yii2-select2-widget 0.1.2 requires bower-asset/select2-bootstrap-theme ~0.1.0-beta.10 -> no matching package found.

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://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Maxwellspb commented 6 years ago

Same one

tonydspaniard commented 6 years ago

@maxim-kn-akvilon @twinpigs @Maxwellspb can you try the following? Add this to your composer file:

"minimum-stability": "dev", 
"prefer-stable": true,

The issue is that there is no version for bootstrap theme out of a beta...

ngschaider commented 6 years ago

I also had this problem. @tonydspaniard trick worked. Just open composer.json and change the minimum-stability to dev and add a new entry (if not already there) for prefer-stable and set it to true

cronfy commented 6 years ago

What if I can't set "minimum-stability": "dev"? I afraid it can affect other packages' stability.