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 is not working?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    49 Posts 3 Posters 19.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.
    • S Offline
      sdetweil @vandy2424
      last edited by

      @vandy2424 can you do

      cd  ~/Documents/MagicMirror/config
      ls -laF
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      V 1 Reply Last reply Reply Quote 0
      • V Offline
        vandy2424 @sdetweil
        last edited by

        @sdetweil Yes, here is the output:

        jackson@raspberrypi:~/Documents/MagicMirror/config $ ls -LaF
        ./  ../  config.js*  config.js.sample  .config.js.swp
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @vandy2424
          last edited by

          @vandy2424 lower case L

          -laF

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            vandy2424 @sdetweil
            last edited by

            @sdetweil Apologies.

            jackson@raspberrypi:~/Documents/MagicMirror/config $ ls -laF
            total 20
            drwxr-xr-x  2 jackson jackson 4096 Feb  9 19:19 ./
            drwxr-xr-x 18 jackson jackson 4096 Feb  2 10:27 ../
            -rwxrwxrwx  1 root    root    1998 Feb  9 19:19 config.js*
            -rw-r--r--  1 jackson jackson 3534 Feb  2 10:27 config.js.sample
            -rw-r--r--  1 jackson jackson 1024 Feb  2 12:12 .config.js.swp
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @vandy2424
              last edited by

              @vandy2424

              change the permissions owner and group
              exit the editor

              sudo chown jackson config.js
              sudo chgrp jackson config.js

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              V 1 Reply Last reply Reply Quote 0
              • V Offline
                vandy2424 @sdetweil
                last edited by

                @sdetweil Okay I ran both of those commands.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @vandy2424
                  last edited by

                  @vandy2424 and try starting mm again

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  V 1 Reply Last reply Reply Quote 0
                  • V Offline
                    vandy2424 @sdetweil
                    last edited by

                    @sdetweil The calendar module still says loading… Everything else is the same as it was. Both logs show exactly the same as well.

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @vandy2424
                      last edited by sdetweil

                      @vandy2424 can you confirm the permissions change?

                      ls -laF

                      I can explain it

                      access to the file fails at startup time
                      fs.accessSync() js/app.js, line 117
                      so defaults is used… thats node helpers

                      Screenshot_20240209_204637_Chrome.jpg

                      file is loaded in the browser anyhow(index.html), and that controls module loading in browser

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S V 2 Replies Last reply Reply Quote 0
                      • S Offline
                        sdetweil @sdetweil
                        last edited by

                        @sdetweil I will test in the morning

                        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
                        • 4
                        • 5
                        • 4 / 5
                        • 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