[Pkg-javascript-devel] Bug#650345: npm: please consider rewriting shebangs on the fly to refer to "nodejs" name

Jonathan Nieder jrnieder at gmail.com
Tue Nov 29 01:13:15 UTC 2011


Package: npm
Version: 0.2.19-1
Severity: wishlist

Hi,

As mentioned at [1]:

On some machines /usr/sbin/node refers to some program that is not the
node.js interpreter[2].  Therefore it would be helpful to have a facility
to automatically rewrite shebangs that currently refer to
"#!/usr/bin/env node" to refer to "#!/usr/bin/env nodejs" instead, to
help people with /usr/sbin in their $PATH.

This naturally assumes that a /usr/bin/nodejs command is available, so
bug#650343 needs to be resolved first.

Thanks for your work,
Jonathan

[1] http://thread.gmane.org/gmane.linux.debian.devel.javascript/273
[2] http://bugs.debian.org/611698 has details.





More information about the Pkg-javascript-devel mailing list