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.

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to