2amigos / yii2-date-picker-widget

Bootstrap DatePicker Widget for Yii2
https://2amigos.us
Other
130 stars 77 forks source link

Is not installing properly, why? #49

Open sanatbek opened 6 years ago

sanatbek commented 6 years ago

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

Potential causes:

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

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

tonydspaniard commented 6 years ago

@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 commented 6 years ago

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: https://github.com/fxpio/composer-asset-plugin/issues/86 - might be an issue with downgrading.