[Pkg-javascript-devel] Bug#887069: node-node-uuid installs a broken link and making dependencies like npm broken
Pirate Praveen
praveen at debian.org
Sat Jan 13 13:09:51 UTC 2018
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180113/8df62d6f/attachment.sig>
More information about the Pkg-javascript-devel
mailing list