Upgrading to the latest version of Electron js using Node

- Andrés Cruz

ES En español

Upgrading to the latest version of Electron js using Node

Electron is a powerful framework that allows us to create desktop applications using web technologies and Node; the applications are not native desktop applications if they do not use Chromium, which is an open-source web browser; we already know how to use events, now let's update the app.

The Electron team tends to update its framework frequently and go from one version to another and in this post we are going to see how we can update it to the latest version; the first thing you have to take into account is what version you are using; To see your version of Electron, just locate the package.json:

  "dependencies": {
    "axios": "^0.19.2",
    "core-js": "^3.6.5",
    "cors": "^2.8.5",
    "electron-db": "^0.15.7",
    "express": "^4.17.1",
    "mysql": "^2.18.1",
    "vue": "^2.6.12",
    "vue-material": "^1.0.0-beta-15",
    "vue-router": "^3.3.4"
  },

And now, to update it, just run the following NPM command:

npm install electron@latest

And voila, this will be all; You have to take into account that you may have compatibility problems from one version to another and you may have to refactor your code.

Next step, generate your awesome Electron.js application in Production.

The Electron team tends to update its framework frequently and go from one version to another and in this post we are going to see how we can update the project

I agree to receive announcements of interest about this Blog.

Andrés Cruz

ES En español