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 distributable releases for Windows under OS X

See original GitHub issue

Distributable releases works fine for OS X, but i’m having trouble with the windows release. As the docs says, I’ve installed Caskroom/cask/xquartz, wine and mono with brew, but when i try to run it fails:

    Packaging app for platform win32 x64 using electron v0.37.2
    Error: Failed with exit code: 1
    Output:
    Intentando compilar el paquete desde 'xxxxxx.nuspec'. 
    ManifestMetadata is required.
    ManifestMetadata is required.
        at ChildProcess.<anonymous> (/usr/local/lib/node_modules/electron-builder/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:821:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
    From previous event:
        at processImmediate [as _immediateCallback] (timers.js:383:17)
    From previous event:
        at Object.createWindowsInstaller (/usr/local/lib/node_modules/electron-builder/node_modules/electron-winstaller-fixed/lib/index.js:207:16)
        at WinPackager.<anonymous> (/usr/local/lib/node_modules/electron-builder/src/winPackager.ts:123:50)
        at [object Generator].next (native)
    From previous event:
        at tsAwaiter (/usr/local/lib/node_modules/electron-builder/src/awaiter.ts:10:51)
        at Object.build (/usr/local/lib/node_modules/electron-builder/src/builder.ts:30:55)
        at Object.<anonymous> (/usr/local/lib/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:139:18)
        at node.js:999:3

Packaging works fine, is the installer creation what fails.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
hryukcommented, Mar 24, 2016

Ok, solved. All was caused due to a very old version of mono previously installed without brew, and when mono was launched the old version spawned. Removing the old version and checking that mono 4.2.X is used solved the issue, all is working perfectly right now.

Really thanks for you time @develar

0reactions
develarcommented, Mar 24, 2016

Na endlich. Thanks, so, we can tag 3.0 as latest.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolved issues in Windows 10, version 20H2 | Microsoft Learn
In this article. Resolved issues; Issue details. See a list of known issues that have been resolved for Windows 10, version 20H2 over...
Read more >
Release notes - Configuration Manager - Microsoft Learn
In this article. Client management; Set up and upgrade; OS deployment; Software updates; Configuration Manager console; CMPivot.
Read more >
February 15, 2022—KB5010415 (OS Builds 19042.1566 ...
Release Date: 2/15/2022. Version: OS Builds 19042.1566, 19043.1566, and 19044.1566. 3/15/22. IMPORTANT Windows 10, version 20H2 will reach ...
Read more >
What's new in Microsoft Defender for Endpoint on Mac
Learn about the major changes for previous versions of Microsoft Defender for Endpoint on Mac.
Read more >
August 25, 2022—KB5016691 (OS Build 22000.918) Preview
For an overview of Windows 11 (original release), see its update history page ... to fail in certain circumstances after you reset a...
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