netpro2k / hubot-skype

Skype adapter for hubot
MIT License
131 stars 44 forks source link

ERROR Cannot load adapter skype - Error: Cannot find module 'hubot-skype' #27

Open sandipmkhairnar opened 10 years ago

sandipmkhairnar commented 10 years ago

Hello,

bin/hubot -a skype

Getting ERROR Cannot load adapter skype - Error: Cannot find module 'hubot-skype' error.

package json file looks like below

{ "name": "hosted-hubot", "version": "2.6.3",

"author": "GitHub Inc.",

"keywords": [ "github", "hubot", "campfire", "bot" ],

"description": "A simple helpful robot for your Company",

"licenses": [{ "type": "MIT", "url": "https://github.com/github/hubot/raw/master/LICENSE" }],

"repository" : { "type": "git", "url": "https://github.com/github/hubot.git" },

"dependencies": { "hubot": ">= 2.6.0 < 3.0.0", "hubot-skype": "https://github.com/datr/hubot-scripts/", "coffee-script": "~> 1.4.0", "optparse": "1.0.3", "scoped-http-client": "0.9.7", "log": "1.3.0" },

"engines": { "node": ">= 0.8.x", "npm": ">= 1.1.x" }

Could you please help me.

philippbeckmann commented 10 years ago
"hubot-skype": "https://github.com/datr/hubot-scripts/",

should be

"hubot-skype": "https://github.com/netpro2k/hubot-skype.git",
ric2z commented 10 years ago

Hey guys, I'm having the same problem.

My package.json looks like:

{
  "name": "hosted-hubot",
  "version": "2.7.1",

  "author": "GitHub Inc.",

  "keywords": [
    "github",
    "hubot",
    "campfire",
    "bot"
  ],

  "description": "A simple helpful robot for your Company",

  "licenses": [{
    "type": "MIT",
    "url": "https://github.com/github/hubot/raw/master/LICENSE"
  }],

  "repository" : {
    "type": "git",
    "url": "https://github.com/github/hubot.git"
  },

  "dependencies": {
    "hubot":         ">= 2.6.0 < 3.0.0",
    "hubot-scripts": ">= 2.5.0 < 3.0.0",
    "cleverbot-node": "0.1.1",
    "xml2js": "0.1.14",
    "scraper": "0.0.9",
    "jsdom": "0.8.4",
    "underscore": "*",
    "hubot-skype": "https://github.com/netpro2k/hubot-skype.git"
  },

  "engines": {
    "node": ">= 0.8.x",
    "npm":  ">= 1.1.x"
  }
}

when I do npm install or bin/hubot -a skype I get pretty much the same

ricardo@zephyrus:~/Projects/ronbot|⇒  sudo npm install
npm http GET https://github.com/netpro2k/hubot-skype.git
npm http 200 https://github.com/netpro2k/hubot-skype.git
npm ERR! not a package /Users/ricardo/tmp/npm-8373-AnoZ5CQ-/1391305626747-0.5899970112368464/tmp.tgz
npm ERR! Error: ENOENT, open '/Users/ricardo/tmp/npm-8373-AnoZ5CQ-/1391305626747-0.5899970112368464/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 13.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/ricardo/Projects/ronbot
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! path /Users/ricardo/tmp/npm-8373-AnoZ5CQ-/1391305626747-0.5899970112368464/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/ricardo/Projects/ronbot/npm-debug.log
npm ERR! not ok code 0

Thoughts?