package: node-node-uuid
version: 1.4.7-1
severity: grave

it also breaks packages that depend on it like npm.


node -e "require('node-uuid');"
module.js:538
    throw err;
    ^

Error: Cannot find module 'node-uuid'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at [eval]:1:1
    at ContextifyScript.Script.runInThisContext (vm.js:50:33)
    at Object.runInThisContext (vm.js:139:38)
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:635:30)
    at evalScript (bootstrap_node.js:462:27)


It is installing a broken link. Adding a simple require test can find
such errors (npm2deb adds such tests by default).

ls -l /usr/lib/nodejs/node-uuid/index.js lrwxrwxrwx 1 root root 48 Jan
11 01:54 /usr/lib/nodejs/node-uuid/index.js ->
../../../share/javascript/node-uuid/node-uuid.js

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to