• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Deploying to heroku troubleshooting

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 4 Posters 7.7k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    gndimitro @dmcinnes
    last edited by Aug 9, 2016, 7:21 AM

    @dmcinnes Thanks! That worked, now I have different issues but it’s live on heroku now. :)

    1 Reply Last reply Reply Quote 0
    • G Offline
      gndimitro @dmcinnes
      last edited by Aug 9, 2016, 7:41 AM

      @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?

      1 Reply Last reply Reply Quote 0
      • G Offline
        gndimitro @dmcinnes
        last edited by Aug 9, 2016, 7:44 AM

        @dmcinnes I changed my port value to port: process.env.PORT, just for heroku.

        1 Reply Last reply Reply Quote 0
        • G Offline
          gndimitro @dmcinnes
          last edited by Aug 9, 2016, 5:36 PM

          @dmcinnes So I found a solution! I changed a line in server.js to server.listen(process.env.PORT || config.port); and that seemed to work, it didn’t break my config file

          D 1 Reply Last reply Aug 11, 2016, 12:31 AM Reply Quote 0
          • D Offline
            dmcinnes Module Developer @gndimitro
            last edited by Aug 11, 2016, 12:31 AM

            @gndimitro awesome!

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            2 / 2
            • First post
              12/12
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy