[Pkg-javascript-devel] Bug#997723: node-cosmiconfig: FTBFS: Object is of type 'unknown'.
Lucas Nussbaum
lucas at debian.org
Sun Oct 24 12:41:57 BST 2021
Source: node-cosmiconfig
Version: 7.0.0+ds1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> babeljs-7 src -d dist --verbose --extensions .js,.ts --ignore '**/**/*.test.js,**/**/*.test.ts' --source-maps
> src/Explorer.ts -> dist/Explorer.js
> src/ExplorerBase.ts -> dist/ExplorerBase.js
> src/ExplorerSync.ts -> dist/ExplorerSync.js
> src/cacheWrapper.ts -> dist/cacheWrapper.js
> src/getDirectory.ts -> dist/getDirectory.js
> src/getPropertyByPath.ts -> dist/getPropertyByPath.js
> src/index.ts -> dist/index.js
> src/loaders.ts -> dist/loaders.js
> src/readFile.ts -> dist/readFile.js
> src/types.ts -> dist/types.js
> Successfully compiled 10 files with Babel (676ms).
> tsc --project tsconfig.types.json
> [96msrc/loaders.ts[0m:[93m29[0m:[93m5[0m - [91merror[0m[90m TS2571: [0mObject is of type 'unknown'.
>
> [7m29[0m error.message = `JSON Error in ${filepath}:\n${error.message}`;
> [7m [0m [91m ~~~~~[0m
>
> [96msrc/loaders.ts[0m:[93m29[0m:[93m52[0m - [91merror[0m[90m TS2571: [0mObject is of type 'unknown'.
>
> [7m29[0m error.message = `JSON Error in ${filepath}:\n${error.message}`;
> [7m [0m [91m ~~~~~[0m
>
> [96msrc/loaders.ts[0m:[93m44[0m:[93m5[0m - [91merror[0m[90m TS2571: [0mObject is of type 'unknown'.
>
> [7m44[0m error.message = `YAML Error in ${filepath}:\n${error.message}`;
> [7m [0m [91m ~~~~~[0m
>
> [96msrc/loaders.ts[0m:[93m44[0m:[93m52[0m - [91merror[0m[90m TS2571: [0mObject is of type 'unknown'.
>
> [7m44[0m error.message = `YAML Error in ${filepath}:\n${error.message}`;
> [7m [0m [91m ~~~~~[0m
>
> [96msrc/readFile.ts[0m:[93m34[0m:[93m36[0m - [91merror[0m[90m TS2571: [0mObject is of type 'unknown'.
>
> [7m34[0m if (throwNotFound === false && error.code === 'ENOENT') {
> [7m [0m [91m ~~~~~[0m
>
> [96msrc/readFile.ts[0m:[93m50[0m:[93m36[0m - [91merror[0m[90m TS2571: [0mObject is of type 'unknown'.
>
> [7m50[0m if (throwNotFound === false && error.code === 'ENOENT') {
> [7m [0m [91m ~~~~~[0m
>
>
> Found 6 errors.
>
> make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/node-cosmiconfig_7.0.0+ds1-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 mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list