• 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.

node_helper.js does not work.

Scheduled Pinned Locked Moved Solved Troubleshooting
21 Posts 2 Posters 5.8k Views 2 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.
  • S Away
    sdetweil @emrhssla
    last edited by Apr 15, 2019, 2:50 PM

    @emrhssla will advise once I see it myself

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 1
    • S Away
      sdetweil @emrhssla
      last edited by sdetweil Apr 15, 2019, 2:56 PM Apr 15, 2019, 2:54 PM

      @emrhssla which MM are u working in?

      /home/pi/Desktop/Beauty (see its config/config.js
      or
      /home/pi/Desktop/Beauty/MagicMirror one? (see ITS config/config.js

      they are different (u have MagicMirror installed INSIDE a MagicMirror folder)
      to fix this, in /home/pi/Desktop/Beauty do

      mv MagicMirror ..
      

      now you will have

      /home/pi/Desktop/Beauty
      and
      /home/pi/Desktop/MagicMirror
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Apr 15, 2019, 3:10 PM Reply Quote 1
      • E Offline
        emrhssla @sdetweil
        last edited by Apr 15, 2019, 3:10 PM

        @sdetweil
        I first ran a magic mirror at /home/pi/Desktop/MagicMirror . But after failing, another one was installed. Running /home/pi/Desktop/Beauty/MagicMirror gave the same result.

        In conclusion, there are two magic mirrors: /home/pi/Desktop/MagicMirror and /home/pi/Desktop/Beauty/MagicMirror.

        I’ll try it tomorrow, but maybe it doesn’t matter.

        S 1 Reply Last reply Apr 16, 2019, 2:40 AM Reply Quote 0
        • S Away
          sdetweil @emrhssla
          last edited by Apr 16, 2019, 2:40 AM

          @emrhssla when the mirror app is running, can u access from another system at http://mirror_ip:mirror_port

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 1 Reply Last reply Apr 16, 2019, 8:33 AM Reply Quote 1
          • E Offline
            emrhssla @sdetweil
            last edited by Apr 16, 2019, 8:33 AM

            @sdetweil said in node_helper.js does not work.:

            when the mirror app is running, can u access from another system at http://mirror_ip:mirror_port

            I solved it!!
            A month ago, /fi/MagicMirror was installed.
            /pi/Magicmirror puts the code above, so node_helper.js work well.

            But I don’t know why /pi/Desktop/Beauty/Magicmirror isn’t working. Is this because of /pi/Magicmirror?

            Thanks to you, I solved it. Thank you all the time.

            S 1 Reply Last reply Apr 16, 2019, 12:55 PM Reply Quote 0
            • S Away
              sdetweil @emrhssla
              last edited by Apr 16, 2019, 12:55 PM

              @emrhssla said in node_helper.js does not work.:

              But I don’t know why /pi/Desktop/Beauty/Magicmirror isn’t working. Is this because of /pi/Magicmirror?

              because its a mess with all that macOS level binaries installed…

              i had to

              rm -rf  ~/Desktop/Beauty/node_modules/electron 
              cp ~/MagicMirror/node_modules/electron ~/Desktop/Beauty/node_modules
              

              to get the UI to show on the pi…

              i tested before by executing Electron to show some page
              in a terminal window ON THE PI
              do

              ~/Desktop/Beauty/node_modules/electron/dist/electron http://cnn.com
              

              this should open electron to show some web page

              initially I got a frame, with empty insides

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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