Skip to content

Conversation

@gplaza
Copy link

@gplaza gplaza commented Jan 18, 2015

Error :
oncesk/yii-node-socket dev-master requires oncesk/elephant.io * -> no matching package found

Error : 
oncesk/yii-node-socket dev-master requires oncesk/elephant.io * -> no matching package found
@gplaza
Copy link
Author

gplaza commented Jan 20, 2015

I have used all the package of your github, but the name in https://github.com/oncesk/elephant.io.git
it's not the same like the composer.json of this project.

https://github.com/oncesk/elephant.io.git : wisembly/elephant.io
https://github.com/oncesk/yii-node-socket.git : oncesk/elephant.io

i don't understand exactly why there is "oncesk/elephant.io" in this project (is a required, so if is not found the composer dont allow to install the package...)

@gplaza
Copy link
Author

gplaza commented Jan 20, 2015

work for me with this ugly config (shame on me i use Yii 1 version 2.0.0 of your project) :

 {
"repositories" : [ {
        "type" : "vcs",
        "url" : "https://github.com/gplaza/yii-node-socket.git"
    }, {
        "type" : "vcs",
        "url" : "https://github.com/oncesk/elephant.io.git"
    }
  ],
"require" : {

    "wisembly/elephant.io" : "dev-master",
    "oncesk/yii-node-socket" : "2.0.0"
},
"scripts" : {
    "post-install-cmd" : [
        "php -r \"system('rm -fr '.getcwd().'/vendor/oncesk/yii-node-socket/lib/vendor/elephant.io');\"",
        "php -r \"system('mv -f '.getcwd().'/vendor/wisembly/elephant.io '.getcwd().'/vendor/oncesk/yii-node-socket/lib/vendor/');\"",
        "php -r \"system('rm -fr '.getcwd().'/vendor/wisembly');\""
    ]
  }
 }

@oncesk
Copy link
Owner

oncesk commented Jan 20, 2015

Hi, sorry for this, i changed the name to oncesk/elephant.io, you can try to use dev-master.

Отправлено с моего Xiaomi

Сообщение от "gplaza [email protected]":

work for me with this ugly config (shame on me i use Yii 1 version 2.0.0 of your project) :

{
"repositories" : [ {
"type" : "vcs",
"url" : "https://github.com/gplaza/yii-node-socket.git"
}, {
"type" : "vcs",
"url" : "https://github.com/oncesk/elephant.io.git"
}
],
"require" : {

"wisembly/elephant.io" : "dev-master", "oncesk/yii-node-socket" : "2.0.0" }, "scripts" : { "post-install-cmd" : [ "php -r "system('rm -fr '.getcwd().'/vendor/oncesk/yii-node-socket/lib/vendor/elephant.io');"", "php -r "system('mv -f '.getcwd().'/vendor/wisembly/elephant.io '.getcwd().'/vendor/oncesk/yii-node-socket/lib/vendor/');"", "php -r "system('rm -fr '.getcwd().'/vendor/wisembly');"" ] }

}


Reply to this email directly or view it on GitHub.

@oncesk
Copy link
Owner

oncesk commented Jan 20, 2015

hi, now as you can see https://github.com/oncesk/yii-node-socket/blob/master/composer.json i added right composer requirements, but in my case composer do not want clone from github, only if i adding repositories section into project composer.json it works fine

@gplaza
Copy link
Author

gplaza commented Jan 20, 2015

It's totaly normal, if the project is not register in https://packagist.org/ we must add a repositories section ...

@oncesk
Copy link
Owner

oncesk commented Jan 20, 2015

ок, documentation was updated on github =) thank you for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants