[Pkg-javascript-devel] Bug#1054756: node-recast: FTBFS: lib/options.ts(1, 22): error TS2307: Cannot find module 'ast-types/types' or its corresponding type declarations.

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:23:25 BST 2023


Source: node-recast
Version: 0.21.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> tsc
> lib/options.ts(1,22): error TS2307: Cannot find module 'ast-types/types' or its corresponding type declarations.
> lib/parser.ts(18,15): error TS2532: Object is possibly 'undefined'.
> lib/parser.ts(24,15): error TS2532: Object is possibly 'undefined'.
> lib/parser.ts(28,12): error TS2532: Object is possibly 'undefined'.
> lib/parser.ts(83,24): error TS2532: Object is possibly 'undefined'.
> lib/parser.ts(96,7): error TS2532: Object is possibly 'undefined'.
> make[1]: *** [debian/rules:7: override_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/node-recast_0.21.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list