[Pkg-javascript-devel] Error in i18next-xhr-backend test

Nicolas Mora nicolas at babelouest.org
Fri Oct 11 03:50:19 BST 2019


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.

Does anyone had this kind of error before in a package?

[1] - https://salsa.debian.org/babelouest-guest/node-i18next-xhr-backend
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2460 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191010/23ad63d5/attachment.key>


More information about the Pkg-javascript-devel mailing list