Closed fragoulin closed 3 years ago
Having the same issue with discord.js, does anybody have workaround for this, or we need to wait for a bug fix?
I get this when updating from v6.0.0-beta.50 to v6.0.0-beta.52, 6.0.0-beta.53 or 6.0.0-beta.54
Any news? facing the same error here 😢
This seems like a general Webpack issue and not Electron Forge specific. See: https://github.com/log4js-node/log4js-node/issues/968
I've also verified that there are errors regardless of whether the asset relocator plugin is enabled in the Webpack config.
Since it seems like there's nothing actionable that we can do on the Electron Forge side, I'm closing this bug.
Preflight Checklist
Issue Details
Expected Behavior
I want to use log4js (https://github.com/log4js-node/log4js-node)
Actual Behavior
Creating a simple logger fails when starting electron, in extension https://github.com/MarshallOfSound/webpack-asset-relocator-loader This extension is installed when following steps in https://www.electronforge.io/templates/typescript-+-webpack-template
To Reproduce
Additional Information
Error trace : $ yarn start
This error is due to a catch statement without parameter in fs-extra extension :
MarshallOfSound extension cannot handle catch statements without parameters, but it's valid JS.
Reproduced on this repository : https://github.com/fragoulin/my-new-app