Open roramigator opened 2 years ago
I'm able to resolve that immediate issue by executing the resolutions suggested by 'npm audit fix':
npm install --save-dev electron@19.0.4 npm install --save-dev electron-packager@15.5.1
Now, 'npm start' successfully launches the app.
But the window is black, and any user input just results in errors. I couldn't isolate the root cause.
Hey, thought I would chime in here since I came across a similar issue M1 mac.
Older versions of Electron are not going to work nicely in my case, so to build properly:
rosetta
modenvm install 12.8.1
npm i && npm start
Explanation: it appears that there's some silent conflict with the latest versions of Node and Electron ^7, so you must force yourself to use an older version to execute successfully.
I would highly recommend running npm run build_osx
(should build the application in your /Documents directory) and just using the app from there to save yourself from having to go back and forth between node versions to run
Hopefully this helps!
On windows, I am able to build with these version in my package.json. Newer version of electron do seem to cause the black screen on start.
"devDependencies": {
"electron": "^7.1.12",
"electron-packager": "^14.2.1"
},
I'm running into the same issue, with a similar error:
[97228:0626/202650.850292:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye. Trace/breakpoint trap (core dumped)
Has anyone found a fix for this yet?
(Additional Info: I'm running Linux Mint Cinnamon Edition)
Error