Upgrade Electron version in existing project
See original GitHub issueI would like to see documentation on how to best upgrade the electron version in a pre-existing project built with this plugin. Currently running electron ^3.1.9
and feeling like a dinosaur.
I considered re-adding electron-builder
and forcing the initial prompt so I can pick ^6...
, then manually fixing any changed files such as background.js
.
If there is an existing issue with this info please just let me know! Hoping to get back to a more modern version of electron.
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to upgrade electron to latest version? - Stack Overflow
To upgrade the node library to the latest version and for electron in this instance you should use: npm install electron@latest.
Read more >Update to latest Electron version - Christian Engvall
1. Updating the version used in package.json. Start a terminal and run this command: npm install electron@latest.
Read more >Electron Versioning
To update an existing project to use the latest stable version: npm; Yarn. npm install --save-dev electron@latest.
Read more >Upgrading Electron from 7 to 12 - DEV Community
Tagged with electron, javascript. ... I upgraded Electron from 7 to 12 in this project, and here are some ... npm update node-abi...
Read more >electron - npm
Latest version: 22.0.0, last published: a month ago. Start using electron in your project by running `npm i electron`.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have you tried
rm -r
ingnode_modules
and then runningyarn
? I haven’t seen that specific error, but I have seen similar issues with node_gyp. The second error is because you need to manually enablenodeintegration
on electron 5.0+ (not sure on the exact version), I forgot to mention that. To do this, add this to the config argument ofnew BrowserWindow
:I hear ya,
Definitely agree that none of those things should matter. Just not sure what ended up doing the trick in the end.
Thanks for your help!