Source: ts-node
Version: 9.1.1-4
X-Debbugs-CC: debian...@lists.debian.org
Severity: serious
User: debian...@lists.debian.org
Usertags: regression
Dear maintainer(s),
With a very recent change in testing the autopkgtest of your package
started to fail. I copied some of the output at the bottom of this
report. Can you please investigate the situation and fix it?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
https://ci.debian.net/data/autopkgtest/testing/amd64/t/ts-node/9718737/log.gz
39 passing (1m)
8 failing
1) ts-node
cli
should provide registered information globally:
Uncaught expected [Error: Command failed:
"/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/tests/node_modules/.bin/ts-node"
--project
"/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/tests/tsconfig.json"
tests/env
/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:513
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
tests/env.ts(1,20): error TS2580: Cannot find name 'process'. Do you
need to install type definitions for node? Try `npm i --save-dev
@types/node`.
at createTSError
(/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:513:12)
at reportTSError
(/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:517:19)
at getOutput
(/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:752:36)
at Object.compile
(/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:968:32)
at Module.m._compile
(/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:1056:42)
at Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Object.require.extensions. [as .ts]
(/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:1059:12)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain]
(internal/modules/run_main.js:60:12)
] to equal null
AssertionError: expected [Error: Command failed:
"/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/tests/node_modules/.bin/ts-node"
--project
"/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/tests/tsconfig.json"
tests/env
/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/src/index.ts:513
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
tests/env.ts(1,20): error TS2580: Cannot find name 'process'. Do you
need to install type definitions for node? Try `npm i --save-dev
@types/node`.
at createTSError (src/index.ts:513:12)
at reportTSError (src/index.ts:517:19)
at getOutput (src/index.ts:752:36)
at Object.compile (src/index.ts:968:32)
at Module.m._compile (src/index.ts:1056:42)
at Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Object.require.extensions. [as .ts]
(src/index.ts:1059:12)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain]
(internal/modules/run_main.js:60:12)
] to equal null
at
/tmp/autopkgtest-lxc.cgibtj7d/downtmp/autopkgtest_tmp/smokeed1RaQ/dist/index.spec.js:123:39
at ChildProcess.exithandler (child_process.js:315:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit
(internal/child_process.js:286:5)
2) ts-node
cli
should provide registered information on register:
Uncaught AssertionError: expected [Error: Command failed: node -r
ts-node/register env.ts
/usr/share/nodejs/ts-node/src/index.ts:513
return new TSError(diagnosticText, diagnosticCodes)
^
TSError: ⨯ Unable to compile TypeScript:
env.ts(1,20): error TS2580: Cannot find name 'process'. Do you need to
install type definitions for node? Try `npm i --save-dev @types/node`.
at createTSError (/usr/share/nodejs/ts-node/src/index.ts:513:12)
at reportTSError (/usr/share/nodejs/ts-node/src/index.ts:517:19)
at getOutput (/usr/share/nodejs/ts-node/src/index.ts:752:36)
at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:968:32)
at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1056:42)
at Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Object.require.extensions. [as .ts]
(/usr/share/nodejs/ts-node/src/index.ts:1059:12)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain]