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.

Error building appx

See original GitHub issue

Hey @develar,

  • Version: 17.8.0
  • Target: win, appx

Last version I used for building appx was 11.something. Seems like the options “language” has changed.

This was my previous working build block:

{
  "appId": "...",
  "copyright": "...",
  "asar": true,
  "files": [
    "app/**/*",
    "node_modules/**/*",
    "package.json"
  ],
  "extraFiles": [
    "..."
  ],
  "win": {
    "target": [
      "appx"
    ],
    "publisher": "...",
    "backgroundColor": "transparent",
    "identityName": "...",
    "displayName": "...",
    "publisherDisplayName": "..."
  }
}

But running builder now throws:

“Invalid option object” at xyz\node_modules\electron-builder\src\util\readPackageJson.ts:153:11

Complaining about the win part. I tried to understand the options wiki (which has changed drastically) but I don’t seem to get it. It’s become too nested, I think. Guess we should add some examples.

Please tell me how the config must look for building appx with the latest version of electron-builder.

Thanks

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
develarcommented, May 30, 2017
0reactions
black-snowcommented, May 29, 2017

Thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to build appx from solution. Error code: 1 #300 - GitHub
When using the build window and running in Parallels I am unable to build appx from solution. I've tried changing the target to...
Read more >
MakeAppX.exe: APPX build fails due to invalid Package ...
Hi! Our product has the following identity info: x-Company.appName. (this is not the actual identity, but the format is the same).
Read more >
Question - Deployment failed - Must specify an appx file to install
Unity version : 2019.4.4 I'm trying to deploy an unity UWP app to ... Trying with 'Executrable Only' build type throws more errors:....
Read more >
Windows 10 UWP App build issue with MakeAppx
This error is with file MakeAppx for the record. I am trying to build x86, x64 and ARM. When I am in debug,...
Read more >
manifest error on store package build - Visual Studio Feedback
Unable to build x64 store package. Attempt to build x86 and x64 packages together. x86 completes, but x64 errors out with the following:...
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