[Pkg-javascript-devel] Bug#998288: node-clipanion: FTBFS: Cannot find type definition file for 'yup'.

Andreas Beckmann anbe at debian.org
Mon Nov 1 20:12:33 GMT 2021


Package: node-clipanion
Version: 2.6.2-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Hi,

node-clipanion FTBFS in a minimal chroot:

   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
        cd ./. && sh -ex debian/nodejs/./build
+ rollup -c

./sources/advanced/index.ts → lib, lib...
(!) Plugin typescript: @rollup/plugin-typescript TS2688: Cannot find type definition file for 'yup'.
  The file is in the program because:
    Entry point of type library 'yup' specified in compilerOptions
created lib, lib in 1.6s
   dh_auto_test --buildsystem=nodejs
        ln -s ../. node_modules/clipanion
        /bin/sh -ex debian/tests/pkg-js/test
+ export FORCE_COLOR=1
+ mocha --require ts-node/register --extension ts tests

TSError: ⨯ Unable to compile TypeScript:
sources/advanced/Command.ts(440,21): error TS2571: Object is of type 'unknown'.
sources/advanced/Command.ts(441,21): error TS2571: Object is of type 'unknown'.

    at createTSError (/usr/share/nodejs/ts-node/src/index.ts:513:12)
    at reportTSError (/usr/share/nodejs/ts-node/src/index.ts:517:19)
    at getOutput (/usr/share/nodejs/ts-node/src/index.ts:752:36)
    at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:968:32)
    at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1056:42)
    at Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Object.require.extensions.<computed> [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1059:12)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/build/node-clipanion-2.6.2/sources/advanced/index.ts:1:1)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1056:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Object.require.extensions.<computed> [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1059:12)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/build/node-clipanion-2.6.2/tests/advanced.test.ts:6:1)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1056:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Object.require.extensions.<computed> [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1059:12)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.exports.requireOrImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:56:20)
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-clipanion_2.6.2-1.log.gz
Type: application/gzip
Size: 18083 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211101/9ad8856e/attachment.gz>


More information about the Pkg-javascript-devel mailing list