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.

    no image on my screen

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    run-start.sh not found
    2 Posts 2 Posters 575 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.
    • Q Offline
      qqkl662
      last edited by

      when i run the code “npm start”,i can not see any change in my screen,no image.
      here is the error

      pi@raspberrypi:~/MagicMirror $ npm start
      (node:4533) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      
      > magicmirror@2.5.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      run-start.sh: 4: run-start.sh: electron: not found
      
      npm ERR! magicmirror@2.5.0 start: `sh run-start.sh`
      npm ERR! Exit status 127
      npm ERR!
      npm ERR! Failed at the magicmirror@2.5.0 start script.
      npm ERR! This is most likely a problem with the magicmirror package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     sh run-start.sh
      npm ERR! You can get their info via:
      npm ERR!     npm owner ls magicmirror
      npm ERR! There is likely additional logging output above.
      npm ERR! System Linux 4.14.79-v7+
      npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
      npm ERR! cwd /home/pi/MagicMirror
      npm ERR! node -v v8.11.1
      npm ERR! npm -v 1.4.21
      npm ERR! code ELIFECYCLE
      npm WARN This failure might be due to the use of legacy binary "node"
      npm WARN For further explanations, please read
      /usr/share/doc/nodejs/README.Debian
      
      npm ERR!
      npm ERR! Additional logging details can be found in:
      npm ERR!     /home/pi/MagicMirror/npm-debug.log
      npm ERR! not ok code 0
      
      
      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil
        last edited by

        looks like you did not complete the install…

        cd MagicMirror
        npm install

        when that completes, look for node_modules/electron. is that folder present?
        if so, then try npm start again

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        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