This is most likely due to babel-plugin-add-module-exports being broken.

See https://github.com/59naga/babel-plugin-add-module-exports/issues/72

and https://github.com/59naga/babel-plugin-add-module-exports/issues/80

and https://github.com/59naga/babel-plugin-add-module-exports/issues/73


That 73 points to a new version that's put only on npm and not on github. I'm not exactly sure how it works with fakeupstream at https://salsa.debian.org/js-team/node-babel-plugin-add-module-exports/-/tree/master/

Either way, the version in salsa seems to be 0.2.1 which is definitely outdated (as per the github description of babel-plugin-add-module-exports


Two ways I see are:

Either, update this plugin in Debian to the fork that's pushed only to npm (or switch to https://github.com/lijunle/babel-plugin-add-module-exports/ I guess)


OR

Try removing this plugin altogether and changing the
"export default autosize" statement in the last line of autosize.js to
"module.exports = autosize"

I'm NOT sure whether either of these will work.

Reply via email to