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

在Mac 打包Win32报错 #8

Open
AJhinChen opened this issue Oct 27, 2019 · 0 comments
Open

在Mac 打包Win32报错 #8

AJhinChen opened this issue Oct 27, 2019 · 0 comments

Comments

@AJhinChen
Copy link

  1. npm i
  2. npm run build

OKAY take it awayelectron-packager`

Packaging app for platform win32 x64 using electron v1.7.9
internal/child_process.js:323
throw errnoException(err, 'spawn');
^

Error: spawn Unknown system error -86
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at exports.spawn (child_process.js:502:9)
at module.exports (/Users/chenjin/Desktop/MyWorkSpace/vue-electron/node_modules/rcedit/lib/rcedit.js:47:15)
at /Users/chenjin/Desktop/MyWorkSpace/vue-electron/node_modules/electron-packager/win32.js:70:30
at /Users/chenjin/Desktop/MyWorkSpace/vue-electron/node_modules/electron-packager/common.js:343:7
at /Users/chenjin/Desktop/MyWorkSpace/vue-electron/node_modules/graceful-fs/polyfills.js:287:18
at FSReqWrap.oncomplete (fs.js:153:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@0.0.3 build:win32: cross-env BUILD_TARGET=win32 node .electron-vue/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@0.0.3 build:win32 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/chenjin/.npm/_logs/2019-10-27T02_09_13_206Z-debug.log`

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

No branches or pull requests

1 participant