[Pkg-javascript-devel] Bug#1021536: node-fetch: FTBFS: Error: `moduleDirectories` option must only contain directory names.

Andreas Beckmann anbe at debian.org
Mon Oct 10 12:22:16 BST 2022


Source: node-fetch
Version: 3.2.10+repack1+~cs14.4.14-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

node-fetch/experimental recently started to FTBFS.
A previous rebuild on Aug. 4 was still successful.
The version in sid is not affected by this bug.

+ rollup -c debian/rollup.config.js
ESC[1mESC[31m[!] ESC[1mError: `moduleDirectories` option must only contain directory names. If you want to load modules from somewhere not supported by the default module resolution algorithm, see `modulePaths`.ESC[22mESC[1mESC[39mESC[22m
ESC[2mError: `moduleDirectories` option must only contain directory names. If you want to load modules from somewhere not supported by the default module resolution algorithm, see `modulePaths`.
    at Object.nodeResolve (/usr/share/nodejs/@rollup/plugin-node-resolve/dist/cjs/index.js:980:11)
    at Object.<anonymous> (/build/node-fetch-3.2.10+repack1+~cs14.4.14/debian/rollup.config.js:30:21)
    at Module._compile (node:internal/modules/cjs/loader:1149:14)
    at Object.require.extensions.<computed> [as .js] (/usr/share/nodejs/rollup/dist/shared/loadConfigFile.js:621:20)
    at Module.load (node:internal/modules/cjs/loader:1027:32)
    at Function.Module._load (node:internal/modules/cjs/loader:868:12)
    at Module.require (node:internal/modules/cjs/loader:1051:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at loadConfigFromBundledFile (/usr/share/nodejs/rollup/dist/shared/loadConfigFile.js:631:42)
    at getDefaultFromTranspiledConfigFile (/usr/share/nodejs/rollup/dist/shared/loadConfigFile.js:613:12)ESC[22m

Full log attached.


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-fetch_3.2.10+repack1+~cs14.4.14-2.log.gz
Type: application/gzip
Size: 24173 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20221010/7d4e83b0/attachment.gz>


More information about the Pkg-javascript-devel mailing list