[Pkg-javascript-devel] Removing babel 6: Call for help

Pirate Praveen praveen at onenetbeyond.org
Sun May 10 20:23:14 BST 2020



On Sat, May 9, 2020 at 10:54 pm, Xavier <yadd at debian.org> wrote:
> Thanks for your awesome work!

Thanks to you, Jonas and Nilesh too for helping.

Can somoene check babel7 branch in node-yarnpkg? It builds fine but I 
probably need to include some specific plugins from stage-0 preset. It 
builds fine, but when you try to run, it fails with this error.

$ yarnpkg
/usr/share/nodejs/@babel/runtime/helpers/inherits.js:5
    throw new TypeError("Super expression must either be null or a 
function");
    ^

TypeError: Super expression must either be null or a function
    at _inherits 
(/usr/share/nodejs/@babel/runtime/helpers/inherits.js:5:11)
    at /usr/share/nodejs/yarn/lib/cli/commands/global.js:58:29
    at Object.<anonymous> 
(/usr/share/nodejs/yarn/lib/cli/commands/global.js:107:2)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js 
(internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)






More information about the Pkg-javascript-devel mailing list