[Pkg-javascript-devel] Bug#1004656: jest, node-istanbul: fatal error: Cannot find module '/usr/share/nodejs/babel-plugin-istanbul/lib/index.js'

Jonas Smedegaard dr at jones.dk
Mon Jan 31 09:42:43 GMT 2022


Package: jest,node-istanbul
Severity: grave
Justification: renders package unusable

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

jest currently fails like this:

jest --no-color --verbose
Error: Cannot find module '/usr/share/nodejs/babel-plugin-istanbul/lib/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:295:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:508:18)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:802:27)
    at Function.resolve (internal/modules/cjs/helpers.js:80:19)
    at Object.<anonymous> (/usr/share/nodejs/babel-jest/build/index.js:86:37)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)

Seems an issue in either jest itself or node-istanbul.

 - Jonas

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmH3rxAACgkQLHwxRsGg
ASFSGw//UzdcwesdFd5Ot7J4GrteHBbiWyQtbfx56bh9+WP99BB+Yymf3EWB6YYG
oHoNeInJzbXSF5rHVQGWacPXotvw17EKOVu+K3JN3q5BxC1YzGJd+kv0juKH5DS/
ta8fQmWJs3XJJETahxG18D5Es6nDqYGUh1hrArQ2yLDbbdZG6eU5HPVRuNjAG/JR
A3cLy5J43JAGwQU1unsbgW6coX7PaKLpv1PFldK8g8u9/3lNtg7QjlZr1Tt2HieF
YlyCEb9Lvb+iis3h7wdsIrkHYXTzmbTRozDTNkH02wljC6KiopK73MYgm2DvONtS
8QycZGeHSygRLGVuYnZZHYFqA7vypcXcFuR57ccCM5EB/oFGFguCXLxE+7dAfbnz
cHP2kMQD87fuRJyP26qN/3dkR4L9yeJQUVseohGmdGKfoz+5CqQCG42rHAAO5Gck
SVHnE0Rb2XOtQ91KVUOpr2gLn6v7M4RIhia5Kbr1BCicdXglasL4voReBlyUDiMg
klXMGmx5JWCrCVpqvYhvbnEjI3riG7/ky41DyaOZdMik9lnFGSzNeLUYGSBV8nm2
OlDSsCBi/HrDvm9SZbjUkU5VZ5duVFULt+skBKRle4YiKGoUAMbgkay3HZTgW82+
k2961DxH1PCThR8xiBYJfJFcn2MyFrqYP3wjh+QlUg36s9hIYgg=
=GR3X
-----END PGP SIGNATURE-----



More information about the Pkg-javascript-devel mailing list