windows-installer: Unable to build windows installer
development package.json has the following:
"build": {
"app-bundle-id": "com.datafiniti",
"app-category-type": "public.app-category.visual-scraper",
"iconUrl": "build/icon.ico"
},
"scripts": {
"postinstall": "install-app-deps",
"pack": "build --platform=all",
"dist:win": "build --platform=win32"
}
when running npm run dist:win i run into the following error:
Packaging app for platform win32 x64 using electron v0.37.3
Error: Failed with exit code: 1
Output:
Attempting to build package from 'SpiderSense.nuspec'.
Invalid URI: The URI scheme is not valid.
at ChildProcess.<anonymous> (/SpiderSense/node_modules/electron-winstaller-fixed/lib/spawn-promise.js:59:16)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:95:20)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:477:12)
From previous event:
at tsAwaiter (/SpiderSense/node_modules/electron-builder/src/awaiter.ts:10:51)
at Object.build (/SpiderSense/node_modules/electron-builder/src/builder.ts:30:59)
at Object.<anonymous> (/SpiderSense/node_modules/electron-builder/src/build-cli.ts:41:2)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:146:18)
at node.js:404:3
Any ideas here?
i have mono version 4.2.3 and wine version 1.8.1. Let me know if you need any more information
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (11 by maintainers)
Commits related to this issue
- try icon url fix from https://github.com/electron/windows-installer/issues/56 — committed to bastiaanb/leaphy-client by deleted user 3 years ago
Bingo — iconUrl must be an URL. https://github.com/electron-userland/electron-builder/blob/master/docs/options.md#user-content-#BuildMetadata-iconUrl