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

Failed at the magicmirror@2.9.0 start script

Scheduled Pinned Locked Moved Solved Troubleshooting
8 Posts 5 Posters 2.5k Views 6 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 @FLOW THE NOOB
    last edited by Oct 25, 2019, 2:39 AM

    @FLOW-THE-NOOB

    the error indicates you need to do an electron-rebuild

    cd ~/MagicMirror
    npm install electron-rebuild
    node_modules/.bin/electron-rebuild
    

    then restart MagicMirror

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • W Offline
      waseemghaly
      last edited by Oct 25, 2019, 7:46 AM

      @sdetweil said in Failed at the magicmirror@2.9.0 start script:

      node_modules/.bin/electron-rebuild

      Followed the instructions above and still getting the same error
      /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8
      npm ERR! code ELIFECYCLE
      npm ERR! syscall spawn
      npm ERR! file sh
      npm ERR! errno ENOENT
      npm ERR! magicmirror@2.9.0 start: sh run-start.sh
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.9.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2019-10-25T07_45_43_692Z-debug.log

      please advise. thank you

      1 Reply Last reply Reply Quote 0
      • M Offline
        mrdenmark
        last edited by Oct 25, 2019, 9:21 AM

        following,i’m having the same problem

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil
          last edited by Oct 25, 2019, 10:14 AM

          @mrdenmark @waseemghaly we will have to wait for @Sean to help… he is the module author

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • G Offline
            greg_r
            last edited by Oct 29, 2019, 10:12 PM

            I have exactly the same problem. When triggering MK2 Assistant with hotword or with mouse click, MM crashes with the following errors:

            [AMK2] Recipe is loaded: hide_and_show_all_modules.js
            [AMK2] Recipe is loaded: reboot.js
            [AMK2] Recipe is loaded: screen_onoff.js
            [AMK2] Recipe is loaded: shutdown.js
            [AMK2] Temporal storage directory is clearing.
            [HOTWORD] begins.
            [HOTWORD] Detector starts listening.
            [HOTWORD] stops.
            [HOTWORD] Final Result: { detected: false }
            [HOTWORD] begins.
            [HOTWORD] Detector starts listening.
            [AMK2] assistant ready
            /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8
            npm ERR! file sh
            npm ERR! code ELIFECYCLE
            npm ERR! errno ENOENT
            npm ERR! syscall spawn
            npm ERR! magicmirror@2.9.0 start: sh run-start.sh
            npm ERR! spawn ENOENT
            npm ERR!
            npm ERR! Failed at the magicmirror@2.9.0 start script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

            npm ERR! A complete log of this run can be found in:
            npm ERR! /home/pi/.npm/_logs/2019-10-29T22_08_07_413Z-debug.log

            S 1 Reply Last reply Oct 29, 2019, 10:57 PM Reply Quote 0
            • S Away
              sdetweil @greg_r
              last edited by Oct 29, 2019, 10:57 PM

              @greg_r there apparently is a bad version of grpc… if you fall back to 1.23.? instead of 1.24 it will work.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 1
              • G Offline
                greg_r
                last edited by Oct 31, 2019, 7:05 AM

                Thank you Sam
                found the solution here https://github.com/eouia/MMM-AssistantMk2/issues/231
                MM has stopped crashing.
                Greg

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