Skip to content

Instantly share code, notes, and snippets.

@slickplaid
Created June 3, 2011 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slickplaid/1007333 to your computer and use it in GitHub Desktop.
Save slickplaid/1007333 to your computer and use it in GitHub Desktop.
Kohai Error
{
"config": {
"version": "v0.0.6",
"nick": "twitter",
"server": "irc.myserver.com",
"channels": [
"#twitter"
],
"plugins": {
"twitter": {
"track": [
"test"
]
},
"alias": {
"whitelist": [
"slickplaid",
"mama",
"Laurel"
]
},
"irc": {
"mute_timer": 60,
"command_string": "!",
"oplist": [
"slickplaid"
],
"voicelist": [],
"banlist": []
}
},
"modules": [
"irc",
"alias",
"twitter",
"translate"
],
"auth": {
"twitter": {
"consumer_key": "removed",
"consumer_secret": "removed",
"access_token_key": "removed",
"access_token_secret": "removed"
},
"irc": {
"nick": "twitter",
"password": ""
}
}
}
}
TypeError: Object.getOwnPropertyNames called on non-object
at Function.getOwnPropertyNames (native)
at Object.start (/home/slickplaid/Dropbox/github/kohai/lib/plugins/twitter.js:31:10)
at /home/slickplaid/Dropbox/github/kohai/lib/kohai.js:66:29
at Array.forEach (native)
at Object.start (/home/slickplaid/Dropbox/github/kohai/lib/kohai.js:64:45)
at Object.<anonymous> (/home/slickplaid/Dropbox/github/kohai/bin/kohai:8:7)
at Module._compile (module.js:383:26)
at Object..js (module.js:389:10)
at Module.load (module.js:315:31)
at Function._load (module.js:276:12)
$ npm install levenshtein
levenshtein@1.0.0 ./node_modules/levenshtein
$ node bin/kohai
info: connecting to irc.myserver.com. this will take a few moments and you might see an error message related to the cookies library.
This library has been deprecated. Please use `npm install cookies` instead.
Failed to load module twitter: TypeError: Object.getOwnPropertyNames called on non-object
TypeError: Object.getOwnPropertyNames called on non-object
at Function.getOwnPropertyNames (native)
at Object.start (/home/slickplaid/Dropbox/github/kohai/lib/plugins/twitter.js:31:10)
at /home/slickplaid/Dropbox/github/kohai/lib/kohai.js:66:29
at Array.forEach (native)
at Object.start (/home/slickplaid/Dropbox/github/kohai/lib/kohai.js:64:45)
at Object.<anonymous> (/home/slickplaid/Dropbox/github/kohai/bin/kohai:8:7)
at Module._compile (module.js:407:26)
at Object..js (module.js:413:10)
at Module.load (module.js:339:31)
at Function._load (module.js:298:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment