[Pkg-javascript-devel] Node app requiring "general" javascript library

David Paleino dapal at debian.org
Thu Oct 13 18:22:46 UTC 2011


Hello,
as you might have noticed, I'm packaging a bunch of NodeJS libraries that I
need for a specific package (tilemill). Some of these packages require
"underscore".

I see that we have libjs-underscore, and http://search.npmjs.org/#/underscore
points to the same github repository as that one.

I'm testing the following snippet:

/---
| require('underscore')
\---

which works with other libraries I packaged, but gives an error with this one.
A symlink from /usr/share/javascript/underscore/underscore.js
to /usr/lib/nodejs/underscore.js makes this work, but that would require a new
upload of libjs-underscore.

I'm wondering whether there is an alternative approach I could use, without
uploading a new libjs-underscore?

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20111013/7056a673/attachment.pgp>


More information about the Pkg-javascript-devel mailing list