[Pkg-javascript-devel] Bug#1029188: node-readable-stream: FTBFS: Cannot find module 'fs'

Andreas Beckmann anbe at debian.org
Thu Jan 19 10:03:27 GMT 2023


Source: node-readable-stream
Version: 4.2.0+~cs9.0.2-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

node-readable-stream/experimental recently started to FTBFS:

   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/abort-controller/build
        cd ./abort-controller && sh -ex ../debian/nodejs/abort-controller/build
+ rollup -c
ESC[36m
ESC[1msrc/abort-controller.tsESC[22m → ESC[1mdist/abort-controller.mjsESC[22m...ESC[39m
ESC[1mESC[31m[!] ESC[1m(plugin rpt2) RollupError: ESC[96mscripts/fix-dts.tsESC[0m:ESC[93m1ESC[0m:ESC[93m16ESC[0m - ESC[91merrorESC[0mESC[90m TS2307: ESC[0mCannot find module 'fs' or its corresponding type declarations.

ESC[7m1ESC[0m import fs from "fs"
ESC[7m ESC[0m ESC[91m               ~~~~ESC[0m
ESC[22mESC[1mESC[39mESC[22m
ESC[2m    at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:243:30)
    at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:23753:20)
    at RollupContext.error (/usr/share/nodejs/rollup-plugin-typescript2/src/context.ts:35:17)
    at /usr/share/nodejs/rollup-plugin-typescript2/src/diagnostics.ts:70:17
    at Array.forEach (<anonymous>)
    at printDiagnostics (/usr/share/nodejs/rollup-plugin-typescript2/src/diagnostics.ts:42:14)
    at typecheckFile (/usr/share/nodejs/rollup-plugin-typescript2/src/index.ts:65:3)
    at /usr/share/nodejs/rollup-plugin-typescript2/src/index.ts:340:5
    at Array.forEach (<anonymous>)
    at Object.buildEnd (/usr/share/nodejs/rollup-plugin-typescript2/src/index.ts:332:27)ESC[22m


dh_auto_build: error: cd ./abort-controller && sh -ex ../debian/nodejs/abort-controller/build returned exit code 1
make: *** [debian/rules:11: binary] Error 25


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-readable-stream_4.2.0+~cs9.0.2-1.log.gz
Type: application/gzip
Size: 27537 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20230119/3de26e46/attachment.gz>


More information about the Pkg-javascript-devel mailing list