[Pkg-javascript-devel] Bug#1010410: node-tape: Cannot esm-import package 'tape'
Jérémy Lal
kapouer at melix.org
Sat Apr 30 22:32:29 BST 2022
Package: node-tape
Version: 5.5.3+~cs8.20.16-1
Severity: important
tape's package.json probably needs some fix:
cat tmp.mjs
import * as tape from 'tape'
node tmp.mjs
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'tape' imported from /home/dev/tmp.mjs
Did you mean to import tape/index.js?
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages node-tape depends on:
ii node-debbundle-es-to-primitive 1.2.1+~cs9.7.25-2
ii node-deep-equal 2.0.5+~cs32.11.68-3
ii node-define-properties 1.1.3-3
ii node-defined 1.0.0-3
ii node-es-abstract 1.19.2+~cs16.20.24-1
ii node-function-bind 1.1.1+repacked+~1.0.3-2
ii node-glob 7.2.1+~cs7.6.15-2
ii node-inherits 2.0.4-6
ii node-istanbul 0.4.5+repack10+~cs97.25.57-3
ii node-minimatch 5.0.0+~3.0.5-2
ii node-minimist 1.2.6+~cs5.3.2-1
ii node-object-inspect 1.11.0+~cs1.8.1-3
ii node-resolve [node-object-keys] 1.22.0+~cs5.29.10-2
ii node-resumer 0.0.0-5
ii node-through 2.3.8+~cs0.0.30-1
ii nodejs 16.13.2+really14.19.1~dfsg-6+b1
node-tape recommends no packages.
node-tape suggests no packages.
-- no debconf information
More information about the Pkg-javascript-devel
mailing list