Unsolved Problem install Gateway
-
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.logDo you have any idea how to solve that ?
Thank you -
This post is deleted! -
Ah ouai ? T’aurai une idée pour régler ça ?
-
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)