Le jeu. 7 févr. 2019 à 13:21, Teemu Ikonen <tpiko...@gmail.com> a écrit :
> Package: node-gyp > Version: 3.8.0-4 > Severity: normal > Tags: upstream > > I get this output from 'node-gyp install' on i386: > > -*- > > $ node-gyp install > gyp info it worked if it ends with ok > gyp info using node-gyp@3.8.0 > gyp info using node@10.15.1 | linux | ia32 > gyp http GET > https://nodejs.org/download/release/v10.15.1/node-v10.15.1-headers.tar.gz > gyp http 200 > https://nodejs.org/download/release/v10.15.1/node-v10.15.1-headers.tar.gz > gyp ERR! UNCAUGHT EXCEPTION > gyp ERR! stack TypeError: Cannot read property 'substring' of undefined > gyp ERR! stack at Unpack.isValid [as filter] > (/usr/share/node-gyp/lib/install.js:160:30) > gyp ERR! stack at Unpack.[consumeHeader] > (/usr/lib/nodejs/tar/lib/parse.js:134:48) > gyp ERR! stack at Unpack.[consumeChunkSub] > (/usr/lib/nodejs/tar/lib/parse.js:385:30) > gyp ERR! stack at Unpack.[consumeChunk] > (/usr/lib/nodejs/tar/lib/parse.js:362:30) > gyp ERR! stack at Unpack.write > (/usr/lib/nodejs/tar/lib/parse.js:309:25) > gyp ERR! stack at Gunzip.ondata (_stream_readable.js:667:20) > gyp ERR! stack at Gunzip.emit (events.js:189:13) > gyp ERR! stack at addChunk (_stream_readable.js:284:12) > gyp ERR! stack at readableAddChunk (_stream_readable.js:265:11) > gyp ERR! stack at Gunzip.Readable.push (_stream_readable.js:220:10) > gyp ERR! System Linux 4.9.0-8-686-pae > gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "install" > gyp ERR! cwd /home/tpikonen > gyp ERR! node -v v10.15.1 > gyp ERR! node-gyp -v v3.8.0 > gyp ERR! This is a bug in `node-gyp`. > gyp ERR! Try to update node-gyp and file an Issue if it does not help: > gyp ERR! <https://github.com/nodejs/node-gyp/issues> > > It's fair to expect this to work, however you're supposed to get your nodejs headers from libnode-dev package, not by downloading them. (still, i recognize it shouldn't fail). I also tested a local install of node-gyp (installed with 'npm install') > and got a segfault after the 'http 200' response. > I believe node on i686 is not supported and will segfault. Jérérmy
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel