[Pkg-javascript-devel] Bug#857496: rollup: doesn't work but works when I set NODE_PATH to external non-Debian node install

Ximin Luo infinity0 at debian.org
Sat Mar 11 22:03:21 UTC 2017


Package: rollup
Version: 0.38.0-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Thanks for packaging rollup. However, it doesn't work at the moment:

$ rollup -c
[TypeError: Cannot read property 'id' of undefined]

However this works:

$ NODE_PATH=xxx/rollup/node_modules rollup -c
# successfully builds three.js without error

xxx/rollup is where I cloned https://github.com/rollup/rollup
xxx/rollup/node_modules is the directory created after running "npm install"

You should be able to reproduce this by checking out

https://anonscm.debian.org/cgit/pkg-javascript/three.js.git/

and running the above commands, in a clean chroot after installing build-dependencies (plus rollup)

X

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (300, 'unstable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-javascript-devel mailing list