[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:38:22 GMT 2020
Le 16/12/2020 à 13:14, Pirate Praveen a écrit :
>
>
> On Wed, Dec 16, 2020 at 1:07 pm, Xavier <yadd at debian.org> wrote:
>> I didn't add an "echo" but debian/nodejs/extcopies are really copied
>> (verified). Add a `ls node_modules` in your debian/tests/pkg-js/test if
>> you want to verify
>
> # Launch debian/tests/pkg-js/test with sh -ex
> + ls node_modules
> topojson-client
> world-atlas
> + cat debian/nodejs/extcopies
> cat: debian/nodejs/extcopies: No such file or directory
> autopkgtest [17:41:46]: test pkg-js-autopkgtest: -----------------------]
> autopkgtest [17:41:46]: test pkg-js-autopkgtest: - - - - - - - - - -
> results - - - - - - - - - -
> pkg-js-autopkgtest FAIL non-zero exit status 1
> autopkgtest [17:41:46]: @@@@@@@@@@@@@@@@@@@@ summary
> pkg-js-autopkgtest-require PASS (superficial)
> pkg-js-autopkgtest FAIL non-zero exit status 1
> pravi at mahishi:~/forge/js-team/node-d3-geo$ apt policy pkg-js-tools
> pkg-js-tools:
> Installed: 0.9.55
> Candidate: 0.9.55
> Version table:
> *** 0.9.55 100
> 100 /var/lib/dpkg/status
> 0.9.54 500
> 500 http://deb.debian.org/debian sid/main amd64 Packages
>
> Can you try running autopkgtest for node-d3-geo?
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
More information about the Pkg-javascript-devel
mailing list