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

Is not installing properly, why? #49

Open
sanatbek opened this issue Sep 22, 2017 · 2 comments
Open

Is not installing properly, why? #49

sanatbek opened this issue Sep 22, 2017 · 2 comments

Comments

@sanatbek
Copy link

I tried to install it by compsor and ran command.
Following errors I got and my php version is PHP 7.1.6.

The "https://bower.herokuapp.com/packages/jquery" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
https://bower.herokuapp.com/packages could not be fully loaded, package information was loaded from tYour requirements could not be resolved to an installable set of packages.

Problem 1
- 2amigos/yii2-date-picker-widget 1.0.7 requires bower-asset/bootstrap-datepicker 1.7.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.6 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.5 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.4 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.3 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.2 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.1 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- 2amigos/yii2-date-picker-widget 1.0.0 requires bower-asset/bootstrap-datepicker 1.4.0 -> no matching package found.
- Installation request for 2amigos/yii2-date-picker-widget ~1.0 -> satisfiable by 2amigos/yii2-date-picker-widget[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7].

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content.

@tonydspaniard
Copy link
Member

tonydspaniard commented Sep 22, 2017

@sanatbek can you add the following to the composer.json file?

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

And then do composer update -o?

There is currently a mess with some stuff due that composer plugin has been removed on latest Yii versions. So, I am not sure why this is happening every now and then.

@schmunk42
Copy link

Rather than using

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

I'd prefer to set

"minimum-stability": "stable",

and use explicit @dev constraints if a package needs it.

Please see also: fxpio/composer-asset-plugin#86 - might be an issue with downgrading.

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

3 participants