🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Colin Watson Wed, 07 Oct 2026 09:20
Bug#1149422: ipywidgets: FTBFS: src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/us...
#21
Author: Colin Watson
Date: Wed, 07 Oct 2026 09:20
26 lines
2954 bytes
On Tue, Sep 29, 2026 at 10:19:34PM +0000, Santiago Vila wrote:
>Package: src:ipywidgets
>Version: 8.1.5-8
>Severity: serious
>Tags: ftbfs forky sid
>
>Dear maintainer:
>
>During a rebuild of all packages in unstable, this package failed to build.
[...]
>> @jupyter-widgets/base-manager@1.0.11 build:src
>> tsc --build
>
>src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/usr/share/nodejs/base64-js/index.js' implicitly has an 'any' type.
>  Try `npm i --save-dev @types/base64-js` if it exists or add a new declaration (.d.ts) file containing `declare module 'base64-js';`
>dh_auto_build: error: cd ./packages/base-manager && sh -ex ../../debian/nodejs/packages/base-manager/build returned exit code 1

This seems to have been introduced by node-base64-js 
1.5.1+dfsg+~1.5.0-1, where the only substantial change was to replace 
@types/base64-js with a stub.  Xavier, can you advise what the right fix 
in ipywidgets would be?

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Bug#1149422: ipywidgets: FTBFS: src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/us...
#497
Author: Colin Watson
Date: Sun, 11 Oct 2026 15:10
35 lines
3546 bytes
Control: reassign -1 node-base64-js 1.5.1+dfsg+~1.5.0-1
Control: affects -1 src:ipywidgets

On Wed, Oct 07, 2026 at 10:08:49AM +0100, Colin Watson wrote:
>On Tue, Sep 29, 2026 at 10:19:34PM +0000, Santiago Vila wrote:
>>Package: src:ipywidgets
>>Version: 8.1.5-8
>>Severity: serious
>>Tags: ftbfs forky sid
>>
>>Dear maintainer:
>>
>>During a rebuild of all packages in unstable, this package failed to build.
>[...]
>>>@jupyter-widgets/base-manager@1.0.11 build:src
>>>tsc --build
>>
>>src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/usr/share/nodejs/base64-js/index.js' implicitly has an 'any' type.
>> Try `npm i --save-dev @types/base64-js` if it exists or add a new declaration (.d.ts) file containing `declare module 'base64-js';`
>>dh_auto_build: error: cd ./packages/base-manager && sh -ex ../../debian/nodejs/packages/base-manager/build returned exit code 1
>
>This seems to have been introduced by node-base64-js 
>1.5.1+dfsg+~1.5.0-1, where the only substantial change was to replace 
>@types/base64-js with a stub.  Xavier, can you advise what the right 
>fix in ipywidgets would be?

This turns out to be a bug in node-base64-js.  I've filed 
https://salsa.debian.org/js-team/node-base64-js/-/merge_requests/1, and 
verified that ipywidgets builds with that fix.  Please could somebody in 
the JS team apply this?

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads