[Pkg-javascript-devel] Bug#747656: Error: Cannot find module 'uglify-js'

Leo Iannacone l3on at ubuntu.com
Sat May 10 19:04:26 UTC 2014


Package: node-mirror
Severity: important

Dear Maintainer,

testing your module as:

nodejs -e "require('mirror');"

It fails and returns:

module.js:340
    throw err;
          ^
Error: Cannot find module 'uglify-js'
    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/lib/nodejs/mirror.js:5:14)
    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 Module.require (module.js:364:17)


It seems you are missing a Depends on 'node-uglify' package.

Regards,

Leo.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-javascript-devel mailing list