#1145962 node-jackspeak: FTBFS: src/index.ts(702,18): error TS2591: Cannot find name 'process'.

#1145962#5
Date:
2026-08-28 10:47:49 UTC
From:
To:
Dear maintainer:

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

(Note: I believe this one is not babel7-related)

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-jackspeak, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tshy
src/index.ts(6,8): error TS2591: Cannot find name 'node:util'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(9,26): error TS2591: Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(281,24): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(582,41): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(633,15): error TS2339: Property 'captureStackTrace' does not exist on type 'ErrorConstructor'.
src/index.ts(666,26): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(702,18): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(704,10): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(810,19): error TS2345: Argument of type 'ConfigValue | undefined' is not assignable to parameter of type 'ConfigValue'.
  Type 'undefined' is not assignable to type 'ConfigValue'.
src/index.ts(813,11): error TS2322: Type 'ConfigValue | undefined' is not assignable to type 'ConfigValue'.
  Type 'undefined' is not assignable to type 'ConfigValue'.
src/index.ts(1095,35): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(1189,35): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
writing tsconfig files...
using existing tsconfig.json
building /<<PKGBUILDDIR>>
tshy config {
  main: true,
  exports: {
    './package.json': './package.json',
    '.': './src/index.js',
    './min': { import: [Object], require: [Object] }
  }
}
exports {
  './package.json': './package.json',
  '.': {
    import: { types: './dist/esm/index.d.ts', default: './dist/esm/index.js' },
    require: {
      types: './dist/commonjs/index.d.ts',
      default: './dist/commonjs/index.js'
    }
  },
  './min': {
    import: {
      types: './dist/esm/index.d.ts',
      default: './dist/esm/index.min.js'
    },
    require: {
      types: './dist/commonjs/index.d.ts',
      default: './dist/commonjs/index.min.js'
    }
  }
}
set dialect { where: 'src', mode: 'esm' }
building esm
build failed
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------