Closed ryantrem closed 1 year ago
Have you ever installed Electron globally. This looks like an environmental issue but not create-electron
.
you can remove script: postinstall: electron-builder install-app-deps
I've not installed it globally, but I am using create-electron
within an npm workspace that has another electron app that was created manually.
Describe the bug
I ran
npm create @quick-start/electron electron-test -- --template react-ts
, and then from theelectron-test
directory rannpm install
, and got the following error:If I open
package.json
and change"electron": "^21.3.3"
to"electron": "21.3.3"
, thennpm install
succeeds and I can run the app.Used Scaffolding
create-electron
Used Package Manager
npm
Validations