question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build windows installer

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

0reactions
MarshallOfSoundcommented, Mar 27, 2018

This issue appears to have been resolved in this thread, iconUrl must be a URL (think http / https)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Right-click Windows Installer, and then click Properties. If the Startup type box is set to Disabled, change it to Manual. Click OK to...
Read more >
How to Fix Issues With the Windows Installer Package
1. Restart Your PC · 2. Run the File as an Administrator · 3. Run Program Install and Uninstall Troubleshooter · 4. Restart...
Read more >
Installer Project doesn't build (Build failed) But nothing is ...
The solution build status is failed. And i know for a fact, that it's the installer project that doesn build, yet nothing is...
Read more >
Unable to build windows installer #269 - GitHub
Here is my electron-builder file `var electronInstaller = require('electron-winstaller'); resultPromise = electronInstaller.
Read more >
Build Errors and Warnings - Revenera Product Documentation
This warning occurs to inform you that when the Windows Installer package ... The build engine is unable to load the settings for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found