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 #2121

Closed medhachaitanya closed 2 years ago

medhachaitanya commented 2 years ago

I received the following error when generating a package for https://www.copeo.app

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://www.copeo.app" --target="D:\Temp\pwabuilder\modernpackage-796943df-387c-47a2-bf1b-fd139683c9b0" --version="1.0.1.0" --publisher="CN=B47057D0-7554-4D87-A972-F52433B840D2" --package-id-name="15675MedhaChaitanya.CopeoTimesheetsApproval" --launch-args=" --windows-store-app" --display-name="Copeo Approval" --publisher-display-name="MedhaChaitanya" --images="D:\Temp\pwabuilder\app-images-48396927-768b-42d9-aadd-1c5174336a5b" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN-US" --display-mode="standalone" --signed-app

Standard output:

Standard error: [1007/201148.694:WARNING:resource_bundle.cc(430)] locale_file_path.empty() for locale [1007/201149.631:INFO:pwa_headless_manifest_handler.cc(197)] Found manifest at https://www.copeo.app/manifest.webmanifest [1007/201151.138:ERROR:appx_package_builder.cc(265)] Error -2146958844: Could not close file stream. [1007/201151.138:ERROR:pwa_package_builder.cc(101)] Package creation failed.

Output directory: D:\Temp\pwabuilder\modernpackage-796943df-387c-47a2-bf1b-fd139683c9b0

Msix options: --url="https://www.copeo.app" --target="D:\Temp\pwabuilder\modernpackage-796943df-387c-47a2-bf1b-fd139683c9b0" --version="1.0.1.0" --publisher="CN=B47057D0-7554-4D87-A972-F52433B840D2" --package-id-name="15675MedhaChaitanya.CopeoTimesheetsApproval" --launch-args=" --windows-store-app" --display-name="Copeo Approval" --publisher-display-name="MedhaChaitanya" --images="D:\Temp\pwabuilder\app-images-48396927-768b-42d9-aadd-1c5174336a5b" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN-US" --display-mode="standalone" --signed-app

Standard output:

Standard error: [1007/201

ghost commented 2 years ago

Hello medhachaitanya, 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

Hi,

We're able to reproduce the problem and are working on a fix. We'll comment here when the fix is available. (FYI, this is a duplicate of this bug.)

(note to self: ADO tracking item here)

JudahGabriel commented 2 years ago

Update: We have a fix for this in code review. Will likely be deployed early next week.

JudahGabriel commented 2 years ago

@medhachaitanya I'm glad to report this issue is now fixed. Please package your PWA again, and this time it will work. 👍

Feel free to reopen this issue if you encounter any problems.