Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Broken dependency name #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Broken dependency name #45

wants to merge 1 commit into from

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 notifications@github.com":

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants