Closed ryanjohansson closed 4 months ago
Running into the same issue. It would be great to get active-win
working with Electron Forge since Electron Builder is lacking a lot of support especially with their electron-webpack
library.
@ryanjohansson It works if you allow permissions to the .webpack/main/native_modules/main
file via chmod
.
I was able to run with Electron Forge: active-win+8.1.0.patch You can apply edits via patch-package
Changing chmod works.
I'm using webpack-shell-plugin-next
. Here is the Webpack config:
// ...
const WebpackShellPluginNext = require('webpack-shell-plugin-next')
// ...
export const plugins = [
// ...
new WebpackShellPluginNext({
onBuildEnd: {
scripts: ['chmod +x .webpack/main/native_modules/main'],
blocking: false,
parallel: true,
},
}),
]
Hi Everyone,
I hope you are doing well! I was wondering does anyone have a solution regarding this error I am receiving?
Error Message
Code (Main.js)
Package.json (If this helps)
I have been trying to get this library to work on electron-forge for the past few days, but have had no success. Please let me know if anyone has a solution! Thanks!