[Pkg-javascript-devel] Bug#939001: nodejs: Document current filesystem path for NodeJS modules
Ben Finney
bignose at debian.org
Sat Aug 31 04:15:16 BST 2019
Package: nodejs
Version: 12.8.0~dfsg-2
Severity: normal
The current documentation, ‘debian/nodejs.README.Debian’, makes an
absolute recommendation that does not match the package behaviour.
The global search path for modules is
/usr/lib/nodejs
Future packages of node modules will use that directory,
so it should be used wisely.
The current behaviour of NodeJS packaged in Debian is (according to
changelog entries) to search in the following locations, in order of
preference:
* "/usr/lib/<$DEB_HOST_MULTIARCH>/nodejs" for c++ addons
* "/usr/share/nodejs" for pure javascript modules
* "/usr/lib/nodejs" for smooth migration of current modules
Either the documentation in the change log is wrong, or the binary
package README.Debian is wrong. In either case, please correct the
documentation to accurately reflect the current NodeJS behavour in
Debian.
--
\ “Every valuable human being must be a radical and a rebel, for |
`\ what he must aim at is to make things better than they are.” |
_o__) —Niels Bohr |
Ben Finney <bignose at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190831/72eeba62/attachment.sig>
More information about the Pkg-javascript-devel
mailing list