pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.69k stars 282 forks source link

Error generating windows package #2152

Closed Doctacosa closed 2 years ago

Doctacosa commented 2 years ago

I received the following error when generating a package for https://app.creeperslab.net/

Error: Error generating Windows package Error: Failed. Status code 500, Error: , Details: Microsoft.PWABuilder.Windows.Chromium.Models.ProcessException: The pwa_builder.exe process exited with exit code 1.

Process: C:\inetpub\wwwroot\Resources\cli\pwabuilder\pwa_builder.exe

Process args: --url="https://app.creeperslab.net/" --target="D:\Temp\pwabuilder\modernpackage-e8281c58-0cfb-445d-a6a2-c4d8b66bc317" --version="1.0.1.0" --publisher="Interordi" --package-id-name="58730Interordi.CreepersLabCompanion" --launch-args=" --windows-store-app" --display-name="CL Companion" --publisher-display-name="CN=93F163B1-D886-447E-9DED-1F4282B2B30C" --images="D:\Temp\pwabuilder\app-images-a4fad2d2-bd75-40de-bb7b-c014a0464fe1" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN-US" --display-mode="standalone" --signed-app

Standard output:

Standard error: [1022/145735.060:WARNING:resource_bundle.cc(433)] locale_file_path.empty() for locale [1022/145736.052:INFO:pwa_headless_manifest_handler.cc(198)] Found manifest at https://app.creeperslab.net/manifest.json [1022/145736.909:ERROR:appx_package_builder.cc(259)] packageWriter->Close(manifestStream.Get()) failed, hr=0x80080204 [1022/145736.909:ERROR:pwa_package_builder.cc(126)] Package creation failed.

Output directory: D:\Temp\pwabuilder\modernpackage-e8281c58-0cfb-445d-a6a2-c4d8b66bc317

Msix options: --url="https://app.creeperslab.net/" --target="D:\Temp\pwabuilder\modernpackage-e8281c58-0cfb-445d-a6a2-c4d8b66bc317" --version="1.0.1.0" --publisher="Interordi" --package-id-name="58730Interordi.CreepersLabCompanion" --launch-args=" --windows-store-app" --display-name="CL Companion" --publisher-display-name="CN=93F163B1-D886-447E-9DED-1F4282B2B30C" --images="D:\Temp\pwabuilder\app-images-a4fad2d2-bd75-40de-bb7b-c014a0464fe1" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN-US" --display-mode="standalone" --signed-app


The log is rather long, so here's the full version for your reference. I've used the service properly in the past and it works really well, so getting an error is a surprise!

ghost commented 2 years ago

Hello Doctacosa, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will investigate the issue and help solve it ASAP. Other community members may also look into the issue and provide feedback 🙌

JudahGabriel commented 2 years ago

Hey @Doctacosa

I'm investigating now and will get back to you shortly.

JudahGabriel commented 2 years ago

Hey @Doctacosa

I just tried creating a Windows package for https://app.creeperslab.net, using your values for publisher display name, package ID, and publisher ID, and it worked. I'm unable to reproduce what you're seeing.

Are you still hitting the problem? If so, please tell me the repro steps.

Doctacosa commented 2 years ago

Hello,

It turns out that I kept inverting the publisher ID and display name systematically, across multiple browsers and days. Doing it right, it worked on the first attempt, so I'm good for moving forward.

Safe to say, you can ignore me, user error. Thanks for the reply!