[Pkg-javascript-devel] Bug#978341: node-recast: FTBFS: node_modules/@babel/parser/typings/babel-parser.d.ts(14, 11): error TS7016: Could not find a declaration file for module '@babel/types'. '/<<PKGBUILDDIR>>/node_modules/@babel/types/lib/index.js' implicitly has an 'any' type.

Lucas Nussbaum lucas at debian.org
Sat Dec 26 22:05:30 GMT 2020


Source: node-recast
Version: 0.20.4-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir -p node_modules/@types
> for toto in esprima estree mocha node; do \
> 	cp -R /usr/share/nodejs/@types/$toto node_modules/@types/; \
> done
> for toto in ast-types @babel esprima source-map tslib; do \
> 	cp -R /usr/share/nodejs/$toto node_modules/; \
> done
> tsc
> node_modules/@babel/parser/typings/babel-parser.d.ts(14,11): error TS7016: Could not find a declaration file for module '@babel/types'. '/<<PKGBUILDDIR>>/node_modules/@babel/types/lib/index.js' implicitly has an 'any' type.
>   Try `npm i --save-dev @types/babel__types` if it exists or add a new declaration (.d.ts) file containing `declare module '@babel/types';`
> node_modules/@babel/parser/typings/babel-parser.d.ts(22,11): error TS7016: Could not find a declaration file for module '@babel/types'. '/<<PKGBUILDDIR>>/node_modules/@babel/types/lib/index.js' implicitly has an 'any' type.
>   Try `npm i --save-dev @types/babel__types` if it exists or add a new declaration (.d.ts) file containing `declare module '@babel/types';`
> make[1]: *** [debian/rules:10: override_dh_auto_build] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/node-recast_0.20.4-1_unstable.log

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 marking 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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-javascript-devel mailing list