Closed QuinLena15 closed 9 years ago
Which stability
version you are specified in composer.json?
The file composer.json added line "joni-jones / yii2-wschat": "dev-master". After you execute the command php composer.phar update. It generates an error , which is screenshot
I understand this. My question is about stability
option in your composer file for all packages.
"minimum-stability": "stable".
Can you attach your composer.json
?
{ "name": "name", "description": "description", "keywords": ["yii2", "name"], "homepage": "http://namesite.com", "type": "project", "license": "BSD-3-Clause",
"minimum-stability": "stable",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": "*",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"developeruz/yii2-db-rbac": "dev-master",
"nodge/yii2-eauth": "~2.0",
"2amigos/yii2-tinymce-widget": "~1.1",
"kartik-v/yii2-widget-select2": "*",
"linchpinstudios/yii2-filemanager": "dev-master",
"kartik-v/yii2-widget-fileinput": "*",
"php-ffmpeg/php-ffmpeg": "~0.5",
"kartik-v/yii2-widget-datepicker": "*",
"zendframework/zendsearch": "dev-master",
"joni-jones/yii2-wschat": "dev-master"
},
"require-dev": {
"yiisoft/yii2-codeception": "*",
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
"yiisoft/yii2-faker": "*"
},
"config": {
"process-timeout": 1800
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
}
}
Seems, all packages are correct. Do you tried clear composer cache with composer clear-cache
?
I tried , to no avail. It may need some additional packages?
No, all required packages are specified in requirements option. Right now I've tried to create new application with chat, all packages was loaded.
Please, write hash reference of joni-jones/yii2-wschat
from composer.lock
file.
It is not in the file
Sorry, not undersand your last comment.
The file composer.lock no record joni-jones / yii2-wschat
I need more time to investigate your problem.
Thank you!
I've tried different variants to install chat from composer. In all cases all packages was download successfully. Sorry, I can't reproduce your issue.
Now a new error : Could not load package cboden / ratchet in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^ 0.3: Invalid version string "^ 0.3"
composer self-update. It helped me)
Your problem is solved?
yes
Hello! I have problem.