[Pkg-javascript-devel] Bug#857809: node-uglify: --version errors out
Thorsten Glaser
tg at mirbsd.de
Wed Mar 15 11:38:32 UTC 2017
Package: node-uglify
Version: 2.4.15-1
Severity: important
This is in a clean jessie chroot (cowbuilder):
(pbuild17583)root at tglase:/# uglifyjs --version
module.js:340
throw err;
^
Error: Cannot find module '../package.json'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/usr/bin/uglifyjs:118:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
This is kinda annoying if you need to use --version to distinguish
between in- and compatible versions due to this tool changing its
command line options several times.
-- System Information:
Debian Release: 8.7
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages node-uglify depends on:
ii node-async 0.8.0-1
ii node-optimist 0.3.5-1
ii nodejs 0.10.29~dfsg-2
Versions of packages node-uglify recommends:
pn node-source-map <none>
Versions of packages node-uglify suggests:
pn node-uglify-to-browserify <none>
-- no debconf information
More information about the Pkg-javascript-devel
mailing list