[Pkg-javascript-devel] Bug#929815: uglifyjs.terser does not work for any file
    Pirate Praveen 
    praveen at onenetbeyond.org
       
    Fri May 31 18:27:02 BST 2019
    
    
  
package: uglifyjs.terser
version: 3.14.1-1
severity: grave
justification: it does not work at all
Sample repo https://salsa.debian.org/gi-boi-guest/node-d3-fetch
Also tried in https://salsa.debian.org/js-team/node-d3-scale-chromatic 
with same error when trying to minimize dist/d3-scale-chromatic.js
$ uglifyjs.terser dist/d3-fetch.js -o dist/d3-fetch.min.js
module.js:549
    throw err;
    ^
Error: Cannot find module '../tools/exit.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/lib/nodejs/terser/bin/uglifyjs:6:1)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    
    
More information about the Pkg-javascript-devel
mailing list