[Pkg-javascript-devel] Bug#918935: node-browserify-lite FTBFS: Error: Cannot find module '../tools/exit'
Adrian Bunk
bunk at debian.org
Thu Jan 10 18:34:16 GMT 2019
Control: reassign -1 uglifyjs 3.4.9-2
Control: retitle -1 uglifyjs: Error: Cannot find module '../tools/exit'
Control: affects -1 src:node-browserify-lite
On Thu, Jan 10, 2019 at 08:04:46PM +0200, Adrian Bunk wrote:
> Source: node-browserify-lite
> Version: 0.5.0-3
> Severity: serious
> Tags: ftbfs
>
> https://buildd.debian.org/status/fetch.php?pkg=node-browserify-lite&arch=all&ver=0.5.0-3&stamp=1547086740&raw=0
>
> ...
> debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> NODE_PATH=. /<<PKGBUILDDIR>>/cli.js debian/examples.d/main.js --outfile debian/examples.d/bundle.js
> cd debian/examples.d/ && uglifyjs bundle.js -m --verbose --source-map bundle.compress.js.map -o bundle.compress.js
> internal/modules/cjs/loader.js:583
> throw err;
> ^
>
> Error: Cannot find module '../tools/exit'
> at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
> at Function.Module._load (internal/modules/cjs/loader.js:507:25)
> at Module.require (internal/modules/cjs/loader.js:637:17)
> at require (internal/modules/cjs/helpers.js:22:18)
> at Object.<anonymous> (/usr/lib/nodejs/uglify-js/bin/uglifyjs:6:1)
> at Module._compile (internal/modules/cjs/loader.js:689:30)
> at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
> at Module.load (internal/modules/cjs/loader.js:599:32)
> at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
> at Function.Module._load (internal/modules/cjs/loader.js:530:3)
> make[1]: *** [debian/rules:26: debian/examples.d/bundle.compress.js] Error 1
That does actually look like a bug in the new uglifyfs.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
More information about the Pkg-javascript-devel
mailing list