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.

    How to fix npm install errors on Gateway?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    gatewaynpmerror
    2 Posts 4 Posters 999 Views 4 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.
    • U Offline
      Untitled
      last edited by

      I’m trying to install MagicMirror on Raspbian.
      However, after installing the Gateway to control the EXT-detector and entering npm install to install npm there, the following error appears.
      I tried reinstalling the OS itself for this, but the result was the same.
      Is there any other way?

      An unhandled error occurred inside electron-rebuild
      node-gyp failed to rebuild '/home/raspberry/MagicMirror/modules/Gateway/node_modules/node-pty'.
      Error: `make` failed with exit code: 2
      
      
      
      Error: node-gyp failed to rebuild '/home/raspberry/MagicMirror/modules/Gateway/node_modules/node-pty'.
      Error: `make` failed with exit code: 2
      
      
          at ModuleRebuilder.rebuildNodeGypModule (/home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/module-rebuilder.js:193:19)
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async Rebuilder.rebuildModuleAt (/home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/rebuild.js:180:9)
          at async Rebuilder.rebuild (/home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/rebuild.js:143:17)
          at async /home/raspberry/MagicMirror/modules/Gateway/node_modules/magicmirror-rebuild/build/cli.js:141:9
      
      AssassinsA 1 Reply Last reply Reply Quote 0
      • AssassinsA Offline
        Assassins @Untitled
        last edited by

        @Untitled
        Is not the right Forum.
        Ask here : https://forum.bugsounet.fr

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 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