🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #21

Bug#1149422: ipywidgets: FTBFS: src/utils.ts(4,44): error TS7016: Could not find a declaration file for module 'base64-js'. '/us...

#21
From: 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]
Technical Details
Message-ID: <NLvYB-43fG-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NIOuK-2Bn4-25@gated-at.bofh.it> <NIOuK-2Bn4-25@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Colin Watson <cjwatson@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1149422: ipywidgets: FTBFS: 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.
Date: Wed, 07 Oct 2026 11:20:01 +0200
Message-ID: <NLvYB-43fG-1@gated-at.bofh.it>
References: <NIOuK-2Bn4-25@gated-at.bofh.it> <NIOuK-2Bn4-25@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct  7 09:11:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Colin Watson <cjwatson@debian.org>, 1149422@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+python@tracker.debian.org
X-Debian-Pr-Message: followup 1149422
X-Debian-Pr-Package: src:ipywidgets
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: ipywidgets
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
X-Debian-User: cjwatson
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995507
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 26
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Xavier Guimard <yadd@debian.org>
X-Original-Date: Wed, 7 Oct 2026 10:08:48 +0100
X-Original-Message-ID: <asYMIMjA83lM5c9i@riva.ucam.org>
X-Original-References: <E1xBgAg-00BZUF-0k@paradis.debian.org> <E1xBgAg-00BZUF-0k@paradis.debian.org>