🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1150583: mocha: mocha.mjs is shipped but the mocha.js it imports is not

#438
From: emfox
Date: Sun, 11 Oct 2026 04:20
15 lines
1901 bytes
Package: mocha
Version: 12.0.3+~cs20.0.13-1
Severity: normal

mocha.mjs is shipped but the mocha.js it imports is not:

  $ node --input-type=module -e 'import("/usr/share/nodejs/mocha/mocha.mjs")'
  Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/usr/share/nodejs/mocha/mocha.js'
    imported from /usr/share/nodejs/mocha/mocha.mjs

  $ node -e 'require.resolve("mocha/mocha")'
  Error: Cannot find module 'mocha/mocha'

Thanks,
Emfox
Technical Details
Message-ID: <NMTct-4OHe-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

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: emfox@debian.org
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150583: mocha: mocha.mjs is shipped but the mocha.js it imports is not
Date: Sun, 11 Oct 2026 06:20:01 +0200
Message-ID: <NMTct-4OHe-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 11 04:17:13 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: emfox@debian.org, 1150583@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-javascript-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1150583
X-Debian-Pr-Package: mocha
X-Debian-Pr-Source: node-mocha
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Debian-User: emfox
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996169
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 15
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 11 Oct 2026 12:14:09 +0800
X-Original-Message-ID: <E1xFkwr-00000000Ynk-3HtL@emfox.rpwt.org>