$ 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)

Possibly we are missing some plugins which were part of babel-preset-stage-0 or we may have to patch the original code to be compatible on node 10 without needing transpiling.

Reply via email to