[Pkg-javascript-devel] Bug#947422: node-babel depends on itself for build, then updating core-js is blocked
Xavier Guimard
yadd at debian.org
Thu Dec 26 19:12:57 GMT 2019
Source: node-babel
Severity: important
Hi,
node-babel depends on itself during build. Then when I try to update it with
node-core-js ≥3, I got this:
Error: Cannot find module 'core-js/library/fn/get-iterator'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/usr/lib/nodejs/babel-runtime/core-js/get-iterator.js:1:31)
Then I can not fix babel code source since error comes from an earlier
babel.
The best should be to find a way to build babel without babel. Else a
patched version of babel-runtime could perhaps be embedded.
This affects the migration of node-cloneable-readable, node-readable-stream,...
More information about the Pkg-javascript-devel
mailing list