Electron Applications Cannot Start npm

Asked 2 years ago, Updated 2 years ago, 127 views

When I tried to install Electron and start npm, I got the following error:I didn't really understand the issues, but what is the cause?
src=

electron

2022-09-29 21:39

1 Answers

Because you did not add the start command to the scripts in package.json.

scripts{
  start: "electron."
}

You may want to add or start cloning the https://github.com/electron/electron-quick-start repository that you have already added.


2022-09-29 21:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.