[Pkg-javascript-devel] Bug#1135436: node-tshy: FTBFS: error TS2614: Module '"chokidar"' has no exported member 'WatchOptions'.

Santiago Vila sanvila at debian.org
Sat May 2 00:13:42 BST 2026


Package: src:node-tshy
Version: 1.18.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202605/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-tshy, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/chalk
unlink ./node_modules/chokidar
unlink ./node_modules/rimraf
unlink ./node_modules/sync-content
unlink ./node_modules/minimatch
unlink ./node_modules/mkdirp
unlink ./node_modules/polite-json
unlink ./node_modules/walk-up-path
unlink ./node_modules/resolve-import
unlink ./node_modules/tap
unlink ./node_modules/typescript
unlink ./node_modules/ts-node
unlink ./node_modules/@types/tap
Trying to remove ./node_modules/@types
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/chalk
unlink ./node_modules/chokidar
unlink ./node_modules/rimraf
unlink ./node_modules/sync-content
unlink ./node_modules/minimatch
unlink ./node_modules/mkdirp
unlink ./node_modules/polite-json
unlink ./node_modules/walk-up-path
unlink ./node_modules/resolve-import
unlink ./node_modules/tap
unlink ./node_modules/typescript
unlink ./node_modules/ts-node
unlink ./node_modules/@types/tap
Trying to remove ./node_modules/@types
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/chalk -> /usr/share/nodejs/chalk
Link ./node_modules/chokidar -> /usr/share/nodejs/chokidar
Link ./node_modules/rimraf -> /usr/share/nodejs/rimraf
Link ./node_modules/sync-content -> /usr/share/nodejs/sync-content
Link ./node_modules/minimatch -> /usr/share/nodejs/minimatch
Link ./node_modules/mkdirp -> /usr/share/nodejs/mkdirp
Link ./node_modules/polite-json -> /usr/share/nodejs/polite-json
Link ./node_modules/walk-up-path -> /usr/share/nodejs/walk-up-path
Link ./node_modules/resolve-import -> /usr/share/nodejs/resolve-import
Link ./node_modules/tap -> /usr/share/nodejs/tap
Link ./node_modules/typescript -> /usr/share/nodejs/typescript
Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node
Link ./node_modules/@types/tap -> /usr/share/nodejs/@types/tap
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
	cd ./. && sh -ex debian/nodejs/./build
+ tsc -p .tshy/esm.json
src/watch.ts(5,17): error TS2614: Module '"chokidar"' has no exported member 'WatchOptions'. Did you mean to use 'import WatchOptions from "chokidar"' instead?
src/watch.ts(28,12): error TS7006: Parameter 'path' implicitly has an 'any' type.
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-javascript-devel mailing list