[Pkg-javascript-devel] Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

Xavier yadd at debian.org
Wed Dec 16 07:27:31 GMT 2020


Le 16/12/2020 à 08:17, Pirate Praveen a écrit :
> Package: pkg-js-tools,node-d3-geo
> Severity: important
> 
> node-d3-geo autopkgtest is failing with
> 
> Error: Cannot find module '@babel/register'
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-d3-geo/8873707/log.gz
> <https://ci.debian.net/data/autopkgtest/testing/amd64/n/node-d3-geo/8873707/log.gz>
> 
> Even though debian/nodejs/extlinks has @babel/register.
> 
> I don't know if we should handle it specifically for this package or do
> it for all

Hi,

when using tsc, if /usr/share/nodejs/foo is linked in
debian/nodejs/extlinks and requires another file linked in
debian/nodejs/extlinks, this fails because tsc search a "node_modules"
directory starting from /usr/share/nodejs/foo (see typescript bug
https://github.com/microsoft/TypeScript/issues/33661).

To avoid this, use debian/nodejs/extcopies.



More information about the Pkg-javascript-devel mailing list