[Pkg-javascript-devel] Bug#1106431: node-ytdl-core: FTBFS: error TS2339: Property 'Range' does not exist on type 'readonly string[] | OutgoingHttpHeaders'
    Santiago Vila 
    sanvila at debian.org
       
    Sat May 24 17:39:57 BST 2025
    
    
  
Package: src:node-ytdl-core
Version: 4.11.5+dfsg+~cs4.10.9-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf m3u8stream/node_modules/.cache m3u8stream/.nyc_output
	rm -rf miniget/node_modules/.cache miniget/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/sax
Trying to remove ./node_modules/@types
rm m3u8stream/node_modules/.cache
rm miniget/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/sax
Trying to remove ./node_modules/@types
unlink m3u8stream/node_modules/miniget
unlink node_modules/m3u8stream
unlink node_modules/miniget
   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/@types/sax -> /usr/share/nodejs/@types/sax
Link node_modules/m3u8stream -> ../m3u8stream
Link node_modules/miniget -> ../miniget
Link m3u8stream/node_modules/miniget -> ../../miniget
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/miniget/build
	cd ./miniget && sh -ex ../debian/nodejs/miniget/build
+ tsc -p tsconfig.build.json
src/index.ts(85,21): error TS2339: Property 'Range' does not exist on type 'readonly string[] | OutgoingHttpHeaders'.
  Property 'Range' does not exist on type 'readonly string[]'.
src/index.ts(86,55): error TS2339: Property 'Range' does not exist on type 'readonly string[] | OutgoingHttpHeaders'.
  Property 'Range' does not exist on type 'readonly string[]'.
dh_auto_build: error: cd ./miniget && sh -ex ../debian/nodejs/miniget/build returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202505/
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 could not 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-ytdl-core, so that this is still
visible in the BTS web page for this package.
Thanks.
    
    
More information about the Pkg-javascript-devel
mailing list