[Pkg-javascript-devel] Bug#1058513: Bug#1058513: node-signal-exit: FTBFS: SyntaxError: Cannot use import statement outside a module

Yadd yadd at debian.org
Wed Dec 13 09:42:26 GMT 2023


Control: tags -1 + moreinfo

On 12/13/23 00:52, Lucas Nussbaum wrote:
> Source: node-signal-exit
> Version: 4.1.0-6
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20231212 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> 
> Relevant part (hopefully):
>> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>> tsc -p tsconfig.json
>> tsc -p tsconfig-esm.json
>> sh ./scripts/fixup.sh
>> #cp debian/index.cjs dist/cjs/
>> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>>     dh_auto_test --buildsystem=nodejs
>> 	ln -s ../. node_modules/signal-exit
>> 	/bin/sh -ex debian/tests/pkg-js/test
>> + tap -T -R spec test/all-integration-test.ts test/signal-exit-test.ts
>>
>> /<<PKGBUILDDIR>>/test/all-integration-test.ts:1
>> import assert from 'assert'
>> ^^^^^^
>>

Hi,

I'm unable to reproduce this issue.



More information about the Pkg-javascript-devel mailing list