[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest
Xavier
yadd at debian.org
Wed Dec 16 14:58:01 GMT 2020
Le 16/12/2020 à 14:59, Xavier a écrit :
> Le 16/12/2020 à 14:39, Pirate Praveen a écrit :
>>
>>
>> On 2020, ഡിസംബർ 16 6:45:06 PM IST, Xavier <yadd at debian.org> wrote:
>>> import tape from "tape";
>>> ^^^^^^
>>>
>>> SyntaxError: Cannot use import statement outside a module
>>
>> We need .babelrc too.
>>
>> https://salsa.debian.org/js-team/node-d3-geo/-/blob/master/debian/patches/use-babel-register-for-esm.patch
>
> Ok, works with pkg-js-tools 0.9.56 + this patch:
>
> https://salsa.debian.org/js-team/node-tape/-/blob/master/debian/patches/fix-register-paths.patch
autopkgtest will be fixed with node-tape migration
More information about the Pkg-javascript-devel
mailing list