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

ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Issue #6034

Closed
Devilanc opened this issue Jul 8, 2021 · 2 comments
Closed

ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Issue #6034

Devilanc opened this issue Jul 8, 2021 · 2 comments

Comments

@Devilanc
Copy link

Devilanc commented Jul 8, 2021

  • Electron-Builder Version: 21.2.0

  • Node Version: 7.18.1

  • Electron Version: 9.4.4

  • Electron Type (current, beta, nightly):current

  • Target: nsis, ia32, windows

Error After updating electron-builder 20.44.0=>21.2.0
i was finding auto update error 401, some members are solved this issue for updating electron-builder
but i just get double error..
how can i solve this?

this is log
• electron-builder version=21.2.0 os=10.0.22000
• loaded configuration file=package.json ("build" field)
• writing effective config file=release\builder-effective-config.yaml
⨯ node_modules.Dependency.Dependencies: ReadMapCB: expect { or n, but found [, error found in #10 byte of ...|dencies":[],
"devDe|..., bigger context ...|"arguments", "args", "varargs"],
"dependencies":[],
"devDependencies": {
"deadunit": "git+htt|...
Error reading package.json: C:\Users\Kim\Desktop\Dev\novaclient\node_modules\trimArguments\package.json
⨯ C:\Users\Kim\Desktop\Dev\novaclient\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE stackTrace=
Error: C:\Users\Kim\Desktop\Dev\novaclient\node_modules\app-builder-bin\win\x64\app-builder.exe exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
at ChildProcess. (C:\Users\Kim\Desktop\Dev\novaclient\node_modules\builder-util\src\util.ts:239:14)
at Object.onceWrapper (node:events:514:26)
at ChildProcess.emit (node:events:394:28)
at maybeClose (node:internal/child_process:1067:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@Devilanc Devilanc changed the title Error after updating builder ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Issue Jul 8, 2021
@lihaiJett
Copy link

lihaiJett commented Jul 19, 2021

似乎类似这个问题,garycourt/JSV#99
可以尝试吧node_modules中的"dependencies":[],改成"dependencies":{}

@Devilanc
Copy link
Author

I resolved this Issue for changing to Previous version of package.json

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

No branches or pull requests

2 participants