joni-jones / yii2-wschat

Online chat based on web sockets
MIT License
99 stars 43 forks source link

Don't install #9

Closed QuinLena15 closed 9 years ago

QuinLena15 commented 9 years ago

Hello! I have problem. screenshot_4

joni-jones commented 9 years ago

Which stability version you are specified in composer.json?

QuinLena15 commented 9 years ago

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

joni-jones commented 9 years ago

I understand this. My question is about stability option in your composer file for all packages.

QuinLena15 commented 9 years ago

"minimum-stability": "stable".

joni-jones commented 9 years ago

Can you attach your composer.json?

QuinLena15 commented 9 years ago

{ "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"
    }
}

}

joni-jones commented 9 years ago

Seems, all packages are correct. Do you tried clear composer cache with composer clear-cache?

QuinLena15 commented 9 years ago

I tried , to no avail. It may need some additional packages?

joni-jones commented 9 years ago

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.

QuinLena15 commented 9 years ago

It is not in the file

joni-jones commented 9 years ago

Sorry, not undersand your last comment.

QuinLena15 commented 9 years ago

The file composer.lock no record joni-jones / yii2-wschat

joni-jones commented 9 years ago

I need more time to investigate your problem.

QuinLena15 commented 9 years ago

Thank you!

joni-jones commented 9 years ago

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.

QuinLena15 commented 9 years ago

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"

QuinLena15 commented 9 years ago

composer self-update. It helped me)

joni-jones commented 9 years ago

Your problem is solved?

QuinLena15 commented 9 years ago

yes