Error Cannont load adapter irc #340

Closed
take opened this Issue Aug 23, 2012 · 10 comments

Comments

Projects
None yet
5 participants

take commented Aug 23, 2012

i keep getting an error bellow

ERROR Cannot load adapter irc - TypeError: Cannot read property 'prototype' of undefined

the full report is here (https://gist.github.com/3436860)

package.json is here (https://gist.github.com/3436883)

anyone know the reason :s ?

Contributor

ferlores commented Aug 25, 2012

I think that the error that you are getting is

bin/hubot: 3: npm: not found

I guess that heroku somehow is not installing the hubot-irc dependency. But i'm not a heroku expert :)

take commented Aug 25, 2012

when i changed the version of node and npm, it worked....
thx anyways!

take closed this Aug 25, 2012

I have the exact problem. What version did you entered in package.json?

take commented Sep 1, 2012

@plaetzchen v0.8.7 for node, and 1.1.49 for npm. hope it works for u too!

Yeah, i got it working. Thanks!

Am 01.09.2012 um 10:51 schrieb Takehiro Adachi notifications@github.com:

@plaetzchen v0.8.7 for node, and 1.1.49 for npm. hope it works for u too!


Reply to this email directly or view it on GitHub.

take commented Sep 2, 2012

Contributor

technicalpickles commented Sep 5, 2012

Looking at this, and trying to figure out if there's anything that needs to change in the repo or documentation to help this.

For one, we can update src/templates/package.json to have a line like:

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

... like seen on https://devcenter.heroku.com/articles/nodejs-versions . However, I can't really think of a reason why the existing one would not install correct.

take commented Sep 5, 2012

@technicalpickles true, but when using campfire adapter,

  "engines": {
    "node": "0.6.x",
    "npm": "1.0.x"
  }

works fine

Contributor

technicalpickles commented Sep 5, 2012

Huh, that's really weird. Maybe one of hubot-irc's dependencies is now node 0.8.x dependent.

I think we can still update the template package.json to use a newer node & npm, to keep things moving forward for new installs.

Also, might be worth filing an issue with hubot-irc.

On Sep 5, 2012, at 12:43 AM, Takehiro Adachi notifications@github.com wrote:

@technicalpickles true, but when using campfire adapter,

"engines": {
"node": "0.6.x",
"npm": "1.0.x"
}
works fine


Reply to this email directly or view it on GitHub.

take commented Sep 6, 2012

@technicalpickles true, i doubt that people will not get stuck at this point :P

tombell closed this Jan 10, 2013

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