Reputation: 1
[message from Heroku error log][1]
$ heroku logs --tail Error: Cannot find module './toString' Require stack:
Upvotes: 0
Views: 175
Reputation: 27
Please check your package.json
file. If you found any code under devDependencies
. Move them under the dependencies
section.
Upvotes: 0
Reputation: 11
I have had this issue in the past and it was pretty annoying for me as well. It seems like heroku cannot find a node module. I don't know if this would work for you, but in your .gitignore make sure you remove /node_modules. I think the issue is that heroku cannot find the node module.
Upvotes: 0