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.

    IDE for testing

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 2.3k 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.
    • H Offline
      hutner0502
      last edited by

      Is there a way for you to use some kind of IDE to test the code before pushing it to your raspberry pi? not a big fan of changing code in command line.
      I have tried web storm IDE but it does not work for me.

      1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        I have a local installation of node.js on my windows machine and cloned the MagicMirror repository to it. I develop in Microsoft Visual Studio code without my raspberry. Once I’m confident and everything is running fine I clone my new module to github and the raspberry and check for quirks that might occur

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          doubleT Module Developer @yawns
          last edited by doubleT

          I tried it with xampp and node.js (http-server) and got the initial page to be shown (please create a config) but once I create one, the site just shows a black background with no modules. Console says “moduleWrapper is NULL”.

          What’s the trick here? What do I need to run?

          ########

          EDIT:
          Nevermind, what I was looking for was:

          node serveronly
          

          I thought that was for production/RasbPi only so I had not tried that.

          Thx

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            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