-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
Error while building project for multiple operating system on mac #724
Comments
Getting same problem. Couldn't solve it. Anyone who can resolve this error kindly leave a response |
Same issue |
I have the same issue, with different error message. There is one thing related to Windows builds on macOS though that would benefit from a version bump of |
I think electron-builder v22 fixes this problem. The 2.0.0 beta of this plugin uses electron builder v22. You can also use yarn resolutions with the 1.x version: ( {
"resolutions": {
"vue-cli-plugin-electron-builder/electron-builder": "^22.2.0"
}
} |
Error While using
npm run electron:build -- --win --mac --linux
The project is ready but receiving a problem while building it for multiple platforms.
Looking forward for your response so we can publish this app.
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'electron:build',
1 verbose cli '--',
1 verbose cli '--win',
1 verbose cli '--mac',
1 verbose cli '--linux'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preelectron:build', 'electron:build', 'postelectron:build' ]
5 info lifecycle [email protected]
preelectron:build: [email protected]electron:build: [email protected]6 info lifecycle [email protected]
7 verbose lifecycle [email protected]
electron:build: unsafe-perm in lifecycle trueelectron:build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/bilalahmad/Desktop/timetrackerfiles/testtttt/Timetracker 3/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]
electron:build: CWD: /Users/bilalahmad/Desktop/timetrackerfiles/testtttt/Timetracker 3electron:build: Args: [ '-c', 'vue-cli-service electron:build "--win" "--mac" "--linux"' ]10 silly lifecycle [email protected]
11 silly lifecycle [email protected]
electron:build: Returned: code: 1 signal: nullelectron:build: Failed to exec electron:build script12 info lifecycle [email protected]
13 verbose stack Error: [email protected] electron:build:
vue-cli-service electron:build "--win" "--mac" "--linux"
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:210:5)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:210:5)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/bilalahmad/Desktop/timetrackerfiles/testtttt/Timetracker 3
16 verbose Darwin 19.4.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "electron:build" "--" "--win" "--mac" "--linux"
18 verbose node v12.14.0
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] electron:build:
vue-cli-service electron:build "--win" "--mac" "--linux"
22 error Exit status 1
23 error Failed at the [email protected] electron:build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: