heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.36k stars 382 forks source link

module error #1246

Open mhdatie opened 9 years ago

mhdatie commented 9 years ago

Hi, I'm trying to debug the "App Crash" fatal error through heroku run node console and getting: "Error: Cannot find module '/app/console' Something in other modules installed is requiring a file in the wrong way. My app runs fine locally but not when I deploy it https://football-news-scraper.herokuapp.com/

How can I make the app run in a sitaution like this? original repo https://github.com/MohamadAtieh/footballjs.git

jdx commented 9 years ago

When you say heroku run node console that's like saying node console locally. That would start node and load the console module that doesn't exist. What is it you're trying to do exactly?