"electron-builder install-app-deps" get a error
`Will run NPM commands in directory "."
Installing dependencies using NPM…
[email protected] postinstall /home/runner/work/fpsmember/fpsmember electron-builder install-app-deps
• electron-builder version=22.9.1
• loaded configuration file=package.json ("build" field)
⨯ spawn /home/runner/work/fpsmember/fpsmember/node_modules/app-builder-bin/linux/x64/app-builder EACCES stackTrace=
Error: spawn /home/runner/work/fpsmember/fpsmember/node_modules/app-builder-bin/linux/x64/app-builder EACCES
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: electron-builder install-app-deps
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2021-02-02T05_42_50_123Z-debug.log child_process.js:660 throw err; ^
Error: Command failed: npm install
at checkExecSyncError (child_process.js:621:11)
at execSync (child_process.js:657:15)
at run (/home/runner/work/_actions/samuelmeuli/action-electron-builder/v1/index.js:21:27)
at runAction (/home/runner/work/_actions/samuelmeuli/action-electron-builder/v1/index.js:109:2)
at Object.
I don't know why it gives that error, but if you lower the version of "electron-builder" to "22.10.5". It will work
At least it works for me