[Pkg-javascript-devel] Bug#921625: node-gyp install fails
Teemu Ikonen
tpikonen at gmail.com
Thu Feb 7 12:17:34 GMT 2019
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 at 3.8.0
gyp info using node at 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>
-*-
I also tested a local install of node-gyp (installed with 'npm install')
and got a segfault after the 'http 200' response.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-8-686-pae (SMP w/2 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages node-gyp depends on:
ii gyp 0.1+20180428git4d467626-2
ii libnode-dev 10.15.1~dfsg-2
ii node-fstream 1.0.10-1
ii node-glob 7.1.3-2
ii node-graceful-fs 4.1.11-1
ii node-mkdirp 0.5.1-1
ii node-nopt 3.0.6-3
ii node-npmlog 4.1.2-1
ii node-osenv 0.1.5-1
ii node-request 2.88.1-2
ii node-rimraf 2.6.2-1
ii node-semver 5.5.1-1
ii node-tar 4.4.6+ds1-3
ii node-which 1.3.0-2
ii nodejs 10.15.1~dfsg-2
Versions of packages node-gyp recommends:
ii build-essential 12.5
node-gyp suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list