Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update electron to v24 #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wzulfikar
Copy link

I was checking the Electron course at Udemy (https://www.udemy.com/course/master-electron) and the electron was far behind current version. npm install is broken because some assets are missing. Example:

image

I didn't think that just updating the electron would work, but it did! This PR updates the electron from v9 to v24. Running npm install now works:

image

and here's the electron window that's triggered when running npm start:

image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not really necessary for this PR. But this is the version I use that I'm sure will work.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use pnpm to run the repo (but tested with npm install too). Happy to remove and replace with package-lock.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant