HermanFassett / youtube-scrape

Scrape YouTube searches (API)
MIT License
192 stars 96 forks source link

Both personal and demo site showing application errors #40

Open EdFabre opened 4 years ago

EdFabre commented 4 years ago

I tried to deploy your app to my Heroku, but ran into application errors when navigating to my slug's site. I also noticed that when navigating to your public slug at "http://youtube-scrape.herokuapp.com", it is also showing an application error. Is this current build failing? I also attached logs from my instance to help with troubleshooting. I have tried adding the config variable per vic's suggestion here https://github.com/HermanFassett/youtube-scrape/issues/15#issuecomment-664034473

Screenshot of Slug Sites image

Screenshot of Logs image

EdFabre commented 4 years ago

UPDATE: I went ahead and started troubleshooting your code and it seems to run fine on my PC. The issue looks to be, the Heroku slug's aren't executing npm install before npm start even when setting NPM_CONFIG_PRODUCTION=false. Let me know if you figure this out.

HermanFassett commented 4 years ago

So far when I've seen this issue, setting that npm production config to false has solved it, so I'm not sure at this point what else could be happening. My heroku site is failing because it used up all the free hours for this month.