[Pkg-javascript-devel] Bug#1000672: Bug#1000672: @lumino/polling isn't compiled correctly

Yadd yadd at debian.org
Sat Nov 27 08:24:12 GMT 2021


Le 26/11/2021 à 23:43, Julien Puydt a écrit :
> Package: node-lumino
> Version: 2021.11.4-1
> Severity: normal
> X-Debbugs-CC: Debian Javascript Maintainers
> <pkg-javascript-devel at lists.alioth.debian.org>
> 
> 
> There are errors when compiling @lumino/polling:
> 
> src/poll.ts(18,7): error TS2304: Cannot find name 'setImmediate'.
> src/poll.ts(26,7): error TS2304: Cannot find name 'clearImmediate'.
> 
> and since these errors don't get caught somehow, the package still
> build, but with a mostly useless @lumino/polling.
> 
> I had a look but didn't find inspiration.
> 
> Can someone from the team get a look and tell me what's wrong?
> 
> Cheers,
> 
> J.Puydt

This is a known typescript bug, it is unable to use nodejs paths. To
workaround, use this:

$ cat > debian/nodejs/extlinks << EOF
setimmediate
@types/node
EOF



More information about the Pkg-javascript-devel mailing list