[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Xavier
Le 16/12/2020 à 14:39, Pirate Praveen a écrit : > > > On 2020, ഡിസംബർ 16 6:45:06 PM IST, Xavier wrote: >> import tape from "tape"; >> ^^ >> >> SyntaxError: Cannot use import statement outside a module > > We need .babelrc too. > >

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Pirate Praveen
On 2020, ഡിസംബർ 16 6:45:06 PM IST, Xavier 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 -- Sent from my

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Xavier
Le 16/12/2020 à 13:59, Pirate Praveen a écrit : > > > On Wed, Dec 16, 2020 at 1:55 pm, Xavier wrote: >> No, this fails with an sbuild, except with nocheck of course. > > It built fine for me as well as on the official buildd normally (without > enabling nocheck). > > See official build logs >

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Pirate Praveen
On Wed, Dec 16, 2020 at 1:55 pm, Xavier wrote: No, this fails with an sbuild, except with nocheck of course. It built fine for me as well as on the official buildd normally (without enabling nocheck). See official build logs

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Xavier
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 wrote: >> Your test modules are not built: >> >> $ node -e 'require("./debian/tests/test_modules/topojson-client")' >>

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Pirate Praveen
On Wed, Dec 16, 2020 at 1:38 pm, Xavier 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

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Xavier
Le 16/12/2020 à 13:14, Pirate Praveen a écrit : > > > On Wed, Dec 16, 2020 at 1:07 pm, Xavier 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

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Xavier
Le 16/12/2020 à 13:14, Pirate Praveen a écrit : > > > On Wed, Dec 16, 2020 at 1:07 pm, Xavier 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

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Pirate Praveen
On Wed, Dec 16, 2020 at 1:07 pm, Xavier 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

[Pkg-javascript-devel] Bug#977535: Bug#977535: Bug#977535: Bug#977535: pkg-js-tools should create node_modules symlink in autopkgtest

2020-12-16 Thread Xavier
Le 16/12/2020 à 12:38, Pirate Praveen a écrit : > > > On Wed, Dec 16, 2020 at 12:15 pm, Xavier wrote: >> Could you try pkg-js-autopkgtest 0.9.55 (experimental + salsa) ? > > No, this did not work. I don't see any cp command in the logs. > > autopkgtest [17:03:46]: test pkg-js-autopkgtest: >