Deploying to heroku troubleshooting

I am having a bit of trouble after deploying to heroku. The mirror runs great on my localhost but on heroku the weather shows “Loading…”. I know it has something to do with the API. Can anyone help me? Also I installed the mm-music-player and again it runs great locally but when I deploy it to heroku it makes my whole screen black. I commented out the code on the config file and then it runs fine again.

Guess I could look it up. It looks like it’s a cloud based application host. So I have to again point at the information posted on the main project page, where we point out that MagicMirror² is proven to run on Raspberry Pi versions 2 and 3, using the Rasbian OS. The installation script and necessary applications are all proven to run on that. Anything else and unfortunately it’s a total unknown. Chances are you are the first to do that on Heroku, and as such, you’re going to have to do some digging and figure it out. Using anything else, and there is no guarantee that any of the necessary pieces are in place, or that they can actually run on that platform.

Having said that, I would start by looking at your log file (pm2 logs) or pull up the code through a browser from a different machine and look at the console output, check for error messages.

Oh actually read to the end of your post Looks like the music module runs the player on the server side (on the heroku dyno) which is what’s likely failing. You can run heroku logs -a to see any error messages.

@dmcinnes Actually it’s giving me an odd error in the dev console, it’s saying “process is not defined” and then that breaks my config file so the app is running but not working correctly, do you have any ideas?