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

Closed hohuutuan85 closed 2 years ago

hohuutuan85 commented 2 years ago

I received the following error when generating a package for https://www.pwabuilder.com/

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.pwabuilder.com/" --target="D:\Temp\pwabuilder\modernpackage-788406ea-fff9-4397-a10e-f75b166a1cff" --version="1.0.1.0" --publisher="https://www.pwabuilder.com/" --package-id-name="com.pwabuilder.www.twa" --launch-args=" --windows-store-app" --display-name="PWABuilder" --publisher-display-name="https://www.pwabuilder.com/" --images="D:\Temp\pwabuilder\app-images-a4d4efab-0bb1-47d9-b6d6-7768f1dbc5ba" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN" --display-mode="standalone" --signed-app

Standard output:

Standard error: [1029/200426.443:WARNING:resource_bundle.cc(433)] locale_file_path.empty() for locale [1029/200427.954:INFO:pwa_headless_manifest_handler.cc(198)] Found manifest at https://www.pwabuilder.com/manifest.json [1029/200429.630:ERROR:appx_package_builder.cc(259)] packageWriter->Close(manifestStream.Get()) failed, hr=0x80080204 [1029/200429.630:ERROR:pwa_package_builder.cc(126)] Package creation failed.

Output directory: D:\Temp\pwabuilder\modernpackage-788406ea-fff9-4397-a10e-f75b166a1cff

Msix options: --url="https://www.pwabuilder.com/" --target="D:\Temp\pwabuilder\modernpackage-788406ea-fff9-4397-a10e-f75b166a1cff" --version="1.0.1.0" --publisher="https://www.pwabuilder.com/" --package-id-name="com.pwabuilder.www.twa" --launch-args=" --windows-store-app" --display-name="PWABuilder" --publisher-display-name="https://www.pwabuilder.com/" --images="D:\Temp\pwabuilder\app-images-a4d4efab-0bb1-47d9-b6d6-7768f1dbc5ba" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN" --display-mode="standalone" --signed-app

Standard output:

Standard error: [1029/200426.443:WARNING:resource_bu

ghost commented 2 years ago

Hello hohuutuan85, 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 🙌

jgw96 commented 2 years ago

Hello! Could you please fill out the issue template when you open an issue? It enables us to triage issues much easier and quicker. What is the URL to the PWA you are trying to package?

jgw96 commented 2 years ago

Hello! As there has not been a reply and the issue template was not filled out, I am going to close this issue. However, please feel free to open a new issue with the template filled out if you are still running into this.