Skip to content

在Mac 打包Win32报错 #8

@AJhinChen

Description

@AJhinChen
  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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions