Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by emfox
Sun, 11 Oct 2026 04:20
Bug#1150583: mocha: mocha.mjs is shipped but the mocha.js it imports is not
Author: emfox
Date: Sun, 11 Oct 2026 04:20
Date: Sun, 11 Oct 2026 04:20
15 lines
1901 bytes
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
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