#1144590 node-graphql: FTBFS with node-typescript 6

#1144590#5
Date:
2026-08-16 23:02:33 UTC
From:
To:
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/202608/

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-graphql, 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/chai
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/mocha
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
rm ./node_modules/.cache
unlink ./node_modules/@types/chai
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/mocha
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
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/chai -> /usr/share/nodejs/@types/chai
Link ./node_modules/@types/mocha -> /usr/share/nodejs/@types/mocha
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
	cd ./. && sh -ex debian/nodejs/./build
+ node resources/build-npm.js
/usr/share/nodejs/typescript/lib/typescript.js:127509
        throw new Error(`${option.name} is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram`);
        ^

Error: target is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram
    at Object.createProgram (/usr/share/nodejs/typescript/lib/typescript.js:127509:15)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/resources/build-npm.js:58:24)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47

Node.js v24.19.0
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144590#8
Date:
2026-08-17 10:16:16 UTC
From:
To:
Hello,

Bug #1144590 in node-graphql reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-graphql/-/commit/e3683da23b8fad8ec84a7e13b8dbdbb98b5d470f
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6

Closes: #1144590
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144590

#1144590#15
Date:
2026-08-17 10:34:35 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-graphql, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1144590@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-graphql package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 17 Aug 2026 12:08:47 +0200
Source: node-graphql
Architecture: source
Version: 16.8.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144590
Changes:
 node-graphql (16.8.1-5) unstable; urgency=medium
 .
   * Team upload
   * Fix FTBFS with TypeScript 6 (Closes: #1144590)
Checksums-Sha1:
 b0e1ddfcbb1e5ee2af27160467f644dff6a3b48e 2196 node-graphql_16.8.1-5.dsc
 c4801d8bbfbe9b4ed3e7412963493311dc174bde 4936 node-graphql_16.8.1-5.debian.tar.xz
Checksums-Sha256:
 dd86de61d7bc610085a7d276bcc42f5d36074fd9d48c1075c0ab167f075ed45c 2196 node-graphql_16.8.1-5.dsc
 97ac81ea1d7a71a8a82ed69bd775a855b335688124b0934ae61bf947a7649ba0 4936 node-graphql_16.8.1-5.debian.tar.xz
Files:
 7df7e5031b868bc82521a1689b3b2ad4 2196 javascript optional node-graphql_16.8.1-5.dsc
 91b5dd209607013fc9a4a55e0d62c399 4936 javascript optional node-graphql_16.8.1-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC31kACgkQ9tdMp8mZ
7ukm/Q/+MkvRgdkZ4UgXMTLVcGQFOw1SMU3dc+mR2xkLSazX9eAskLzzf70PRbzS
jRGNzztrfQDLKjZzin6+cgeTdZuVngCXNJhH7D3l9ZrJOQlkILiBj92AMRc0tsR+
oNOX0NqRJ4ACdrJuqhNEog8j1g5r+Cq22aOiS2/6QpDSqWAOZYk/gMBxEloJo86Q
Ias3BpZjTGkstYc9/xAspEWT8m8NSYzJ/bfQgJHrRBBhOEJPiVr5vbPZE9Ipxwz+
QZsRpqe5aU2Y4pXK+TKmPNTbDzXmIQFNrP5IB5WYZCxIQpzEH0gHcRdspLUDNis4
CF7uLd5IZqiEUHMkIhq5Qb14tDqK4tCegxjbtd5d6JfBGJVHHeLR275wTbr8QN/L
yeCn9fVwe3UpC8chlmK9XoORHBkmlGXdOofrwZ3je6iAdLp8csvSi4ngHVWiDISf
+rg/DGrzvkBjg+lssz/MvbS33ps74aS8bLX87g81r1GQKcIGIVS7+EqUrEssKCe7
rwSTEzlTbLw8elDIhT+S1iF1+cP+J4zmu5vgoXYQVoTM86+l5zh7sejOu8nj0xII
NDZFxxVqfv9H/U7CFlD/XlQtrQMPbU17IJBAgRPKm9arsTDrgsZbuq6QF0kqL0Rd
PcWQnHdGqGPFO4pWbk48u+dS/GSRYB132pj+tVwYmyjCG8XnmJc=
=i4Bz
-----END PGP SIGNATURE-----