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,...
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to