Cela semble être un problème assez commun, mais aucune des solutions que j'ai étudiées ne l'a résolu pour moi.Npm Installer Échouer sur la reconstruction de nœud-gyp
Je cours Ubuntu 16.04, le noeud 4.2.6, la version 3.5.2 de NPM. Je soupçonne que j'ai une dépendance dans mon application qui ne fonctionne plus avec ces versions, mais je ne suis pas sûr de savoir comment l'identifier rapidement.
Quand je lance NPM installer sur ma demande, je reçois le texte suivant:
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-28-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/local/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/gary/Work/ui-programmatic/node_modules/bufferutil
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN install:[email protected] [email protected] install: `node-gyp rebuild`
npm WARN install:[email protected] Exit
J'ai essayé de réinstaller nœud et NPM.