Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error: Cannot find module 'ntwitter' #527

Closed
rngadam opened this issue Jul 6, 2013 · 2 comments
Closed

Error: Cannot find module 'ntwitter' #527

rngadam opened this issue Jul 6, 2013 · 2 comments

Comments

@rngadam
Copy link

rngadam commented Jul 6, 2013

hubot@2.5.5 node_modules/hubot
├── optparse@1.0.4
├── log@1.3.1
├── scoped-http-client@0.9.8
├── coffee-script@1.6.2
└── express@3.1.1 (methods@0.0.1, fresh@0.1.0, range-parser@0.0.4, cookie-signature@0.0.1, buffer-crc32@0.2.1, cookie@0.0.5, debug@0.7.2, commander@0.6.1, mkdirp@0.3.5, send@0.1.0, connect@2.7.4)
Hubot> [Sat Jul 06 2013 11:27:19 GMT+0800 (CST)] WARNING The HUBOT_AUTH_ADMIN environment variable not set
[Sat Jul 06 2013 11:27:19 GMT+0800 (CST)] INFO Disabling brain auto-saving
[Sat Jul 06 2013 11:27:19 GMT+0800 (CST)] ERROR Unable to load letsface/hubot/node_modules/hubot-scripts/src/scripts/tweet: Error: Cannot find module 'ntwitter
@iangreenleaf
Copy link
Contributor

I saw this recently too. Either add ntwitter to your package.json, or remove tweet.coffee from hubot-scripts.json.

It's a little weird that this script is included in the default template, but you have to add the dependency on your own.

@tombell tombell closed this as completed in aace5ab Jul 6, 2013
tombell added a commit that referenced this issue Jul 6, 2013
Requires users to add the ntwitter to package.json which is a hurdle to simply deploying to heroku.

Fixes #527
@obiwanchinobi
Copy link

@iangreenleaf 👍

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

No branches or pull requests

3 participants