Skip to content

Broken dependency name#45

Open
gplaza wants to merge 1 commit into
oncesk:masterfrom
gplaza:patch-1
Open

Broken dependency name#45
gplaza wants to merge 1 commit into
oncesk:masterfrom
gplaza:patch-1

Conversation

@gplaza

@gplaza gplaza commented Jan 18, 2015

Copy link
Copy Markdown

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

gplaza commented Jan 20, 2015

Copy link
Copy Markdown
Author

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

gplaza commented Jan 20, 2015

Copy link
Copy Markdown
Author

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

oncesk commented Jan 20, 2015

Copy link
Copy Markdown
Owner

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

oncesk commented Jan 20, 2015

Copy link
Copy Markdown
Owner

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

gplaza commented Jan 20, 2015

Copy link
Copy Markdown
Author

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

@oncesk

oncesk commented Jan 20, 2015

Copy link
Copy Markdown
Owner

ок, 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