Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Problem wher composer install #3

Open
maxim-kn-akvilon opened this issue Aug 17, 2017 · 5 comments
Open

Problem wher composer install #3

maxim-kn-akvilon opened this issue Aug 17, 2017 · 5 comments

Comments

@maxim-kn-akvilon
Copy link

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

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 -> satisfiable by bower-asset/select2-bootstrap-theme[0.1.0-beta.10] but these conflict with your requirements or minimum-stability.

@twinpigs
Copy link

twinpigs commented Sep 4, 2017

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
Copy link

Same one

@tonydspaniard
Copy link
Member

@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
Copy link

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
Copy link

cronfy commented Apr 30, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants