Package: nodejs
Version: 16.13.2~dfsg-2
Severity: normal
Hi,
starting from version 14, nodejs is able to run .mjs files. However,
"import" method only works when dependency is available in node_modules
directories. To avoid having to create node_modules/* links in each
directory, it could be usefull to have node_modules links that points to
nodejs in each /usr/(share|lib|lib/${DEB_MULTIARCH})/nodejs directory.
Then only some links will be needed when a /usr/share/nodejs file tries
to "import" a /usr/li/x86_64*/nodejs module.
Alternative: modify nodejs to be able to search "import" modules in
process.config.variables.node_relative_path
Cheers,
Yadd
--
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel