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.
    • V Offline
      vandy2424 @sdetweil
      last edited by

      @sdetweil I did this and exported a file out. I then went ahead and ran the MagicMirror for 2 minutes.

      Here is the output (same as before):

      [09.02.2024 17:44.28.817] [LOG]   Starting MagicMirror: v2.26.0
      [09.02.2024 17:44.28.835] [LOG]   Loading config ...
      [09.02.2024 17:44.28.841] [DEBUG] config template file not exists, no envsubst
      [09.02.2024 17:44.28.848] [LOG]   Loading module helpers ...
      [09.02.2024 17:44.28.905] [LOG]   Initializing new module helper ...
      [09.02.2024 17:44.28.907] [LOG]   Module helper loaded: updatenotification
      [09.02.2024 17:44.28.909] [LOG]   No helper found for module: helloworld.
      [09.02.2024 17:44.28.910] [LOG]   All module helpers loaded.
      [09.02.2024 17:44.28.928] [LOG]   Starting server on port 8080 ... 
      [09.02.2024 17:44.29.399] [LOG]   Server started ...
      [09.02.2024 17:44.29.402] [LOG]   Connecting socket for: updatenotification
      [09.02.2024 17:44.29.404] [LOG]   Starting module helper: updatenotification
      [09.02.2024 17:44.29.405] [LOG]   Sockets connected & modules started ...
      [09.02.2024 17:44.29.429] [LOG]   Launching application.
      Warning: vkCreateInstance: Found no drivers!
      Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
          at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
          at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
          at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
          at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
          at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
      
      [09.02.2024 17:46.45.217] [LOG]   Shutting down server...
      [09.02.2024 17:46.45.219] [LOG]   Stopping module helper: updatenotification
      [09.02.2024 17:46.45.221] [LOG]   Node_helpers stopped ...
      
      S 1 Reply Last reply Reply Quote 1
      • S Offline
        sdetweil @vandy2424
        last edited by

        @vandy2424 bizarre, ok try this

        cd ~
        find . -type f -name config.js
        

        there was a path resolve fix for config.js in this release

        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 it returned the same location:

          jackson@raspberrypi:~ $ find . -type f -name config.js
          ./Documents/MagicMirror/config/config.js
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @vandy2424
            last edited by

            @vandy2424 weird. the console output doesn’t match…

            ok, another thing, MagicMirror not running

            ps -ef | grep -i magic
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @vandy2424 according to the backend log, calendar was not a loaded module, so never get any data, loading… will be the only output

              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 Hopefully this is what you were looking for here:

                jackson@raspberrypi:~ $ ps -ef | grep -i magic
                jackson   1781   806  0 08:21 ?        00:05:02 geany /home/jackson/Documents/MagicMirror/modules/MMM-Cocktails/node_helper.js
                jackson   6037  1698  0 18:17 pts/0    00:00:00 grep --color=auto -i magic
                
                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @vandy2424
                  last edited by

                  @vandy2424 well, it’s something…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil This is true, but in the backend log, none of my modules say they were loaded, and never have. Just mentions loading config and loading module helpers.
                    1359b8fd-32d2-4fbd-98e8-89ff78df43ca-image.png

                    The clock & weather still work without showing they were loaded on the backend. (maybe this doesn’t matter since they don’t use a node_helper.js class).

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

                      @vandy2424 correct , weirdness…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRIZE @vandy2424
                        last edited by

                        @vandy2424
                        Try ‘localhost’ or real IP instead of ‘0.0.0.0’.

                        V 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 3 / 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