NEWS
Gyp ERR! build error
-
Ich habe auf einem docker Container iobroker installiert. Ich erhalte aber bei vielen Modulen diese gyp ERR. Woran liegt das?
make: Leaving directory '/opt/iobroker/node_modules/utf-8-validate/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 3.10.102 gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/utf-8-validate gyp ERR! node -v v8.11.3 gyp ERR! node-gyp -v v3.7.0 gyp ERR! not ok npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 (node_modules/bufferutil): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: bufferutil@1.1.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 (node_modules/utf-8-validate): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 iobroker.mobile@0.4.11 added 1 package from 1 contributor and audited 3065 packages in 98.916s found 27 vulnerabilities (19 low, 8 high) run `npm audit fix` to fix them, or `npm audit` for details DONE iobroker.mobile npm WARN deprecated bcrypt@1.0.3: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt = v2.0.0 for improved sup port for newer bcrypt hashes npm WARN deprecated i18next-client@1.10.3: you can use npm instal
-
Das Log mus snoch länger sein. Bitte vollständig posten. Da fehlt das relevante
Am Ende ist das eine Abhängigkeit vom js.controller denke ich die aber optional ist
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: utf-8-validate@1.1.0 install: `node-gyp rebuild`
Damit zwei optionen: Rausfinden was zu fixen ist (meist fehlt irgendein Linux paket oder Header-Files) oder ignorieren und damit leben
-
Hast du herausgefunden was das Problem war?
-
@smartboart in einem anderen Thread gab es einen Hinweis, dass die GYP Error Meldungen womöglich etwas mit einer "Python Installation" zu tun haben könnten??!!
-
Danke für den Hinweis..
apt-get install python-dev ergab bei mir nur das schon alles aktuell ist....