[Pkg-javascript-devel] Error in i18next-xhr-backend test
Pirate Praveen
praveen at onenetbeyond.org
Wed Oct 16 10:27:51 BST 2019
On Thu, Oct 10, 2019 at 22:50, Nicolas Mora <nicolas at babelouest.org>
wrote:
> Hello,
>
> In the package node-i18next-xhr-backend [1] I'm working on, I have
> this
> error during the dh_test phase:
>
> dh_auto_test --buildsystem=nodejs
> /usr/bin/node -e require\(\"./.\"\)
> internal/modules/cjs/loader.js:638
> throw err;
> ^
>
> Error: Cannot find module './_an-object'
> at Function.Module._resolveFilename
> (internal/modules/cjs/loader.js:636:15)
> at Function.Module._load (internal/modules/cjs/loader.js:562:25)
> at Module.require (internal/modules/cjs/loader.js:692:17)
> at require (internal/modules/cjs/helpers.js:25:18)
> at /<<PKGBUILDDIR>>/dist/umd/i18nextXHRBackend.js:88:17
> at /<<PKGBUILDDIR>>/dist/umd/i18nextXHRBackend.js:2:82
> at Object.<anonymous>
> (/<<PKGBUILDDIR>>/dist/umd/i18nextXHRBackend.js:5:2)
> at Module._compile (internal/modules/cjs/loader.js:778:30)
> at Object.Module._extensions..js
> (internal/modules/cjs/loader.js:789:10)
> at Module.load (internal/modules/cjs/loader.js:653:32)
>
> After some search, I can see that node-core-js is involved in this
> issue
> but I don't see how yet.
> I tried several things to fix this, like using polyfill or modifying
> the
> rollup.config.js file but so far no luck.
>
If it is related to core-js, then probable it is expecting core-js 3 as
babel 7 needs core-js 3. See if it works with core-js 3 from
experimental.
> Does anyone had this kind of error before in a package?
>
> [1] -
> <https://salsa.debian.org/babelouest-guest/node-i18next-xhr-backend>
> --
> Pkg-javascript-devel mailing list
> Pkg-javascript-devel at alioth-lists.debian.net
> <mailto:Pkg-javascript-devel at alioth-lists.debian.net>
> <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191016/0d06f2ce/attachment.html>
More information about the Pkg-javascript-devel
mailing list