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

Can't pack windows version #78

Open
evgenytr opened this issue Nov 30, 2021 · 1 comment
Open

Can't pack windows version #78

evgenytr opened this issue Nov 30, 2021 · 1 comment
Labels

Comments

@evgenytr
Copy link

Evgenys-Mac-Pro:ZXPInstaller-master evgenytrefilov$ yarn pack:win
yarn run v1.22.4
$ node hooks/ci-env-wrapper.cjs cmd /c node_modules.bin\electron-builder --win --x64
node:child_process:867
throw err;
^

<ref *1> Error: spawnSync cmd ENOENT
at Object.spawnSync (node:internal/child_process:1083:20)
at spawnSync (node:child_process:812:24)
at Object.execFileSync (node:child_process:858:15)
at Object. (/Users/evgenytrefilov/Developer/ZXPInstaller-master/hooks/ci-env-wrapper.cjs:7:26)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
errno: -2,
code: 'ENOENT',
syscall: 'spawnSync cmd',
path: 'cmd',
spawnargs: [ '/c', 'node_modules.binelectron-builder', '--win', '--x64' ],
error: [Circular *1],
status: null,
signal: null,
output: null,
pid: 2004,
stdout: null,
stderr: null
}
error Command failed with exit code 1.

@Eugeny
Copy link
Member

Eugeny commented Dec 2, 2021

I'll look into it - as a workaround, you can call it directly: node_modules\.bin\electron-builder --win --x64

@Eugeny Eugeny added the bug label Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants