[Pkg-javascript-devel] Bug#995220: FTBFS: build broken by typescript update

Yadd yadd at debian.org
Tue Sep 28 05:35:00 BST 2021


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)
      [...]



More information about the Pkg-javascript-devel mailing list