Skip to content

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