Answer the question
In order to leave comments, you need to log in
Trouble installing costa-rico/yii2-images?
Good afternoon,
I get this error whenever I try to install an extension.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package costa-rico/yii2-images dev-master exists as costa-rico/yii2-images[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, dev-imagesEffetcs, dev-widget] but these are rejected by your constraint.
},
"require-dev": {
"yiisoft/yii2-debug": "~2.1.0",
"yiisoft/yii2-gii": "~2.1.0",
"yiisoft/yii2-faker": "~2.0.0",
"codeception/base": "~2.3.0",
"codeception/verify": "~0.4.0",
"codeception/specify": "~0.4.6",
"symfony/browser-kit": ">=2.7 <=4.2.4"
},
"config": {
"process-timeout": 1800,
"fxp-asset": {
"enabled": false
}
},
"scripts": {
"post-install-cmd": [
"yii\\composer\\Installer::postInstall"
],
"post-create-project-cmd": [
"yii\\composer\\Installer::postCreateProject",
"yii\\composer\\Installer::postInstall"
]
},
"extra": {
"yii\\composer\\Installer::postCreateProject": {
"setPermission": [
{
"runtime": "0777",
"web/assets": "0777",
"yii": "0755"
}
]
},
"yii\\composer\\Installer::postInstall": {
"generateCookieValidationKey": [
"config/web.php"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
Answer the question
In order to leave comments, you need to log in
For some time now, it has become impossible to connect costa-rico/yii2-images:dev-master with packagist.org.
But you can add https://github.com/CostaRico/yii2-images.git to the repositories section, and then everything will work.
{
"require": {
"costa-rico/yii2-images": "dev-master"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/CostaRico/yii2-images.git"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question