[Pkg-javascript-devel] Bug#1006061: node-deep-for-each: FTBFS: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/module-transformations' is not defined by "exports" in /usr/share/nodejs/@babel/preset-env/package.json

Lucas Nussbaum lucas at debian.org
Sat Feb 19 06:48:13 GMT 2022


Source: node-deep-for-each
Version: 3.0.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> BABEL_ENV=commonjs babeljs-7 --presets '@babel/preset-env' --plugins 'babel-plugin-add-module-exports' src -d lib
> Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/module-transformations' is not defined by "exports" in /usr/share/nodejs/@babel/preset-env/package.json
>     at throwExportsNotFound (internal/modules/esm/resolve.js:299:9)
>     at packageExportsResolve (internal/modules/esm/resolve.js:522:3)
>     at resolveExports (internal/modules/cjs/loader.js:424:36)
>     at Function.Module._findPath (internal/modules/cjs/loader.js:464:31)
>     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:802:27)
>     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
>     at Module.require (internal/modules/cjs/loader.js:887:19)
>     at require (internal/modules/cjs/helpers.js:74:18)
>     at Object.<anonymous> (/usr/share/nodejs/babel-preset-moxy/lib.js:3:31)
>     at Module._compile (internal/modules/cjs/loader.js:999:30) {
>   code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
> }
> make[1]: *** [debian/rules:10: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/node-deep-for-each_3.0.0-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list