Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#995220: FTBFS: build broken by typescript update

9 views
Skip to first unread message

Yadd

unread,
Sep 28, 2021, 2:00:07 AM9/28/21
to
Package: ts-node
Version: 9.1.1-4
Severity: serious
Tags: sid

ts-node is broken by typescript update. This fix first part of build:

--- a/src/repl.ts
+++ b/src/repl.ts
@@ -98,6 +98,7 @@ export function createRepl (options: Cre
console.error(error)
}
} else {
+ // @ts-ignore
err = error
}
}

but later:

./debian/tests/test_modules/typescript-json-schema/bin/typescript-json-schema \
--topRef --refs --validationKeywords allOf \
--out tsconfig.schema.json tsconfig.json TsConfigSchema
/<<PKGBUILDDIR>>/debian/tests/test_modules/typescript-json-schema/dist/typescript-json-schema.js:965
throw new Error("type " + symbolName + " not found");
^
Error: type TsConfigSchema not found
at JsonSchemaGenerator.getSchemaForSymbol (/<<PKGBUILDDIR>>/debian/tests/test_modules/typescript-json-schema/dist/typescript-json-schema.js:965:19)
at generateSchema (/<<PKGBUILDDIR>>/debian/tests/test_modules/typescript-json-schema/dist/typescript-json-schema.js:1151:26)
at Object.exec (/<<PKGBUILDDIR>>/debian/tests/test_modules/typescript-json-schema/dist/typescript-json-schema.js:1200:22)
at Object.run (/<<PKGBUILDDIR>>/debian/tests/test_modules/typescript-json-schema/dist/typescript-json-schema-cli.js:51:30)
at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/tests/test_modules/typescript-json-schema/bin/typescript-json-schema:3:5)
[...]

Yadd

unread,
Nov 17, 2021, 5:40:03 PM11/17/21
to
$ pkgjs-depends ts-node
DEPENDENCIES:
node-acorn (acorn, acorn-walk)
node-arg (arg)
node-create-require (create-require)
node-diff (diff)
node-make-error (make-error)
node-yn (yn)

MISSING:
ts-node
└── @cspotcode/source-map-support (0.7.0)
└── @cspotcode/source-map-consumer (0.8.0)
└── @tsconfig/node10 (1.0.8)
└── @tsconfig/node12 (1.0.9)
└── @tsconfig/node14 (1.0.1)
└── @tsconfig/node16 (1.0.2)
0 new messages