Closed kuworking closed 3 years ago
As said in the referred issue, downgrading to "fs-extra": "8.0.0",
is a working workaround
Seems like there's something in your build toolchain that doesn't support optional catch binding syntax; that's your problem. I think it's @marshallofsound/webpack-asset-relocator-loader
, using an old version of acorn
. Don't know the differences; perhaps you can use https://github.com/vercel/webpack-asset-relocator-loader instead?
fs-extra
version: 10.0.0Following on https://github.com/jprichardson/node-fs-extra/issues/863 I'm having this error
However, I am capable of using fs-extra with "pure" electronjs
Where I'm having this error is when using ElectronJS + React and Webpack
webpack.rules.js