Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Unsolved Problem install Gateway

    Gateway
    3
    4
    48
    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.
    • A
      Anhiball last edited by

      Hi !
      I wanted to install the gateway but i have this error:
      npm ERR! code 7
      npm ERR! path /home/pi/MagicMirror/modules/Gateway/node_modules/node-pty
      npm ERR! command failed
      npm ERR! command sh -c node scripts/install.js
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@9.0.0
      npm ERR! gyp info using node@10.24.0 | linux | arm
      npm ERR! gyp info find Python using Python version 3.7.3 found at “/usr/bin/python3”
      npm ERR! gyp ERR! UNCAUGHT EXCEPTION
      npm ERR! gyp ERR! stack TypeError: Object.fromEntries is not a function
      npm ERR! gyp ERR! stack at Object.<anonymous> (/home/pi/MagicMirror/modules/Gateway/node_modu les/@npmcli/fs/lib/fs.js:6:23)
      npm ERR! gyp ERR! stack at Module._compile (internal/modules/cjs/loader.js:778:30)
      npm ERR! gyp ERR! stack at Object.Module._extensions…js (internal/modules/cjs/loader.js:789: 10)
      npm ERR! gyp ERR! stack at Module.load (internal/modules/cjs/loader.js:653:32)
      npm ERR! gyp ERR! stack at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
      npm ERR! gyp ERR! stack at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      npm ERR! gyp ERR! stack at Module.require (internal/modules/cjs/loader.js:692:17)
      npm ERR! gyp ERR! stack at require (internal/modules/cjs/helpers.js:25:18)
      npm ERR! gyp ERR! stack at Object.<anonymous> (/home/pi/MagicMirror/modules/Gateway/node_modu les/@npmcli/fs/lib/index.js:2:6)
      npm ERR! gyp ERR! stack at Module._compile (internal/modules/cjs/loader.js:778:30)
      npm ERR! gyp ERR! System Linux 5.10.17-v7+
      npm ERR! gyp ERR! command “/usr/bin/node” “/home/pi/MagicMirror/modules/Gateway/node_modules/.bin /node-gyp” “rebuild”
      npm ERR! gyp ERR! cwd /home/pi/MagicMirror/modules/Gateway/node_modules/node-pty
      npm ERR! gyp ERR! node -v v10.24.0
      npm ERR! gyp ERR! node-gyp -v v9.0.0
      npm ERR! gyp ERR! Node-gyp failed to build your package.
      npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with th e package author.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2022-08-04T14_16_02_683Z-debug.log

      Do you have any idea how to solve that ?
      Thank you

      V 1 Reply Last reply Reply Quote 0
      • V
        venditti69500 Donators @Anhiball last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 1
        • A
          Anhiball last edited by

          Ah ouai ? T’aurai une idée pour régler ça ?

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by bugsounet

            je viens de pousser la version 2.1.8 afin de … (comment dire…) etre plus precis sur ton erreur 🙂

            npm run update afin de mettre a jour (dans le repertoire de GW)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | @bugsounet ©2022