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