[Pkg-javascript-devel] 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 12:55:50 GMT 2020
Control: reopen -1
Control: tags -1 + confirmed
Le 16/12/2020 à 13:40, Pirate Praveen a écrit :
>
>
> On Wed, Dec 16, 2020 at 1:38 pm, Xavier <yadd at debian.org> wrote:
>> Your test modules are not built:
>>
>> $ node -e 'require("./debian/tests/test_modules/topojson-client")'
>> internal/modules/cjs/loader.js:323
>> throw err;
>> ^
>>
>> Error: Cannot find module
>> '<...>/node-d3-geo/debian/tests/test_modules/topojson-client/dist/topojson-client.js'.
>>
>> Please verify that the package.json has a valid "main" entry
>
> That is some problem with ruby-team/meta/build which I also got. But
> directly running sbuild works without this error.
No, this fails with an sbuild, except with nocheck of course.
I found the pkg-js-autopkgtest bug:
+ ls -l node_modules
total 0
lrwxrwxrwx 1 xavier xavier 33 16 déc. 13:46 @babel ->
/usr/share/nodejs/@babel/register
lrwxrwxrwx 1 xavier xavier 44 16 déc. 13:46 topojson-client ->
../debian/tests/test_modules/topojson-client
lrwxrwxrwx 1 xavier xavier 40 16 déc. 13:46 world-atlas ->
../debian/tests/test_modules/world-atlas
@babel/register is not properly linked
More information about the Pkg-javascript-devel
mailing list