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

win7环境编译出错 #11

Open
zkeyword opened this issue Jul 19, 2017 · 0 comments
Open

win7环境编译出错 #11

zkeyword opened this issue Jul 19, 2017 · 0 comments

Comments

@zkeyword
Copy link

E:\test\xcel>npm run dist

xcel@1.4.0 dist E:\test\xcel
build -mwl --ia32 --x64

Error: Config is invalid:
{
"mac": [
{
"dmg": "Unknown option"
},
"Invalid option object"
],
"nsis": [
{
"language": "Should be null,string"
},
"Invalid option object"
],
"win": [
{
"iconUrl": "Unknown option"
},
"Invalid option object"
]
}
at E:\test\xcel\node_modules\electron-builder\src\util\readPackageJson.ts:15
3:11
From previous event:
at validateConfig (E:\test\xcel\node_modules\electron-builder\out\util\readP
ackageJson.js:156:22)
at E:\test\xcel\node_modules\electron-builder\src\packager.ts:130:11
at Generator.next ()
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
From previous event:
at Packager.build (E:\test\xcel\node_modules\electron-builder\out\packager.j
s:274:11)
at E:\test\xcel\node_modules\electron-builder\src\builder.ts:198:33
at Generator.next ()
From previous event:
at build (E:\test\xcel\node_modules\electron-builder\out\builder.js:70:21)
at Object. (E:\test\xcel\node_modules\electron-builder\out\cli\bu
ild-cli.js:71:41)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:575:3

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