[Pkg-javascript-devel] Bug#1065480: FTBFS: error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

Tianyu Chen sweetyfish at deepin.org
Tue Mar 5 09:08:35 GMT 2024


Source: node-recast
Version: 0.23.4-1
Severity: serious
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: sweetyfish at deepin.org

Hi,

During a rebuild of node-recast, your package failed to build.

Relevant part:

	   debian/rules override_dh_auto_build
	make[1]: Entering directory '/<<PKGBUILDDIR>>'
	tsc
	node_modules/@types/node/ts4.8/globals.d.ts(325,84): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(326,85): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(327,85): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(328,84): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(330,22): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(336,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(337,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(338,32): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(339,39): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(340,42): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(341,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(342,38): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(343,34): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(344,37): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(360,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(367,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(374,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	node_modules/@types/node/ts4.8/globals.d.ts(381,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
	make[1]: *** [debian/rules:7: override_dh_auto_build] Error 2
	make[1]: Leaving directory '/<<PKGBUILDDIR>>'
	make: *** [debian/rules:4: binary] Error 2

Thanks!

Best regards,
Tianyu Chen @ deepin

-- System Information:
Distributor ID:	Deepin
Description:	Deepin 23
Release:	23
Codename:	beige
Architecture: x86_64

Kernel: Linux 6.6.7-amd64-desktop-hwe (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-javascript-devel mailing list