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

Hubot won't start on Heroku because of node modules #1071

Closed
joanrodriguez opened this issue Oct 26, 2015 · 2 comments
Closed

Hubot won't start on Heroku because of node modules #1071

joanrodriguez opened this issue Oct 26, 2015 · 2 comments

Comments

@joanrodriguez
Copy link

I installed Hubot with the yo generator and it worked fine locally. However it crashed on Heroku, throwing node_modules/.bin/hubot not found

yo had installed every modules in the local folder but left package.json empty. Because it also generated a gitignore containing node_modules, no dependency was getting installed on Heroku.

I solved my problem by nuking the node_modules folder with rm -r node_modules and then reinstalling every module with npm install --save

Is this normal?

@longrackslabs
Copy link

yes

@technicalpickles
Copy link
Member

@joanrodriguez did you generate with https://github.com/github/generator-hubot? If so, that's a bug because it should be updating your package.json.

I'm going to close here since it belongs on another repo, but please let us know if you are still seeing a problem!

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