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.

    Install MagicMirror on Orange Pi Lite (Armbian)

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 5.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.
    • T Offline
      thanhtantran
      last edited by

      Hello,

      I installed MagicMirror on Orange Pi Lite. Got error in this

      npm ERR! Linux 3.4.113-sun8i
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
      npm ERR! node v4.2.6
      npm ERR! npm  v3.5.2
      npm ERR! file sh
      npm ERR! code ELIFECYCLE
      npm ERR! errno ENOENT
      npm ERR! syscall spawn
      
      npm ERR! electron@1.4.15 postinstall: `node install.js`
      npm ERR! spawn ENOENT
      npm ERR! 
      npm ERR! Failed at the electron@1.4.15 postinstall script 'node install.js'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the electron package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node install.js
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs electron
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls electron
      npm ERR! There is likely additional logging output above.
      
      

      is that the node version and npm version is wrong? Which version I should install?

      kylelmartinK 1 Reply Last reply Reply Quote 0
      • kylelmartinK Offline
        kylelmartin @thanhtantran
        last edited by

        Sorry - have no help for you, but I’m really interested to see if you can get this to work on a $15 board.
        Thanks for giving it a shot.

        1 Reply Last reply Reply Quote 0
        • G Offline
          GustavoALara
          last edited by

          Hi friends

          I had the same problem using the NPM 3.2 and NODE 6.10 versions with an OPI Lite.
          For fix I downgrade the versions to NODE 5.10 and NPM 2.4, run the installation again and everything works fine.

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            thanhtantran @GustavoALara
            last edited by

            @GustavoALara Can you help on instruction to downgrade npm and node to 5.10 and 2.4?

            1 Reply Last reply Reply Quote 0
            • G Offline
              GustavoALara
              last edited by

              Changing node version

              sudo npm cache clean -f
              sudo npm install -g n
              sudo n 5.1.0

              Changing npm version

              npm install -g npm@2.4.0

              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