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.75k stars 284 forks source link

Error generating windows package #2110

Closed Calculamatrise closed 3 years ago

Calculamatrise commented 3 years ago

I received the following error when generating a package for https://calculamatrise.github.io/

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://calculamatrise.github.io/" --target="D:\Temp\pwabuilder\modernpackage-21cc8f76-6ee2-4fa1-9571-19f002739cdd" --version="1.0.1.0" --publisher="calculamatrise1632943588497" --package-id-name="app.calculamatrise" --launch-args=" --windows-store-app" --display-name="Calculamatrise" --publisher-display-name="Calculamatrise" --images="D:\Temp\pwabuilder\app-images-127d3e93-7d78-49c6-8d8e-48bc3a7e1135" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN-US" --display-mode="minimal-ui" --signed-app

Standard output:

Standard error: [0929/193619.800:WARNING:resource_bundle.cc(430)] locale_file_path.empty() for locale [0929/193622.804:INFO:pwa_headless_manifest_handler.cc(197)] Found manifest at https://calculamatrise.github.io/manifest.json [0929/193624.774:ERROR:appx_package_builder.cc(265)] Error -2146958844: Could not close file stream. [0929/193624.774:ERROR:pwa_package_builder.cc(101)] Package creation failed.

Output directory: D:\Temp\pwabuilder\modernpackage-21cc8f76-6ee2-4fa1-9571-19f002739cdd

Msix options: --url="https://calculamatrise.github.io/" --target="D:\Temp\pwabuilder\modernpackage-21cc8f76-6ee2-4fa1-9571-19f002739cdd" --version="1.0.1.0" --publisher="calculamatrise1632943588497" --package-id-name="app.calculamatrise" --launch-args=" --windows-store-app" --display-name="Calculamatrise" --publisher-display-name="Calculamatrise" --images="D:\Temp\pwabuilder\app-images-127d3e93-7d78-49c6-8d8e-48bc3a7e1135" --pri="C:\inetpub\wwwroot\Resources\resources.pri" --resource-language="EN-US" --display-mode="minimal-ui" --signed-app

Standard output:

Standard error: [0929/193619.800:WARNING:resource_bundle.cc(430)] local

ghost commented 3 years ago

Hello Calculamatrise, 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 3 years ago

Hello! Unfortunately, I am not able to reproduce this issue. Are you using the test-package or store-package button? Could you post a screenshot of the values you are entering in the Windows Options modal?

gregorgretz commented 3 years ago

I am receiving the same error for my pwa. Android is working. It doesn't have any effect, if I enter the valid packageId / display name and publisher id or some fake data. Generating a test package does work, but "store package" throws after some seconds the same

sparkktv commented 3 years ago

This is happening on Store Packages. It's been happening to me for over 24 hours now. I also reported last night... https://github.com/pwa-builder/PWABuilder/issues/2113

Can confirm Android works without issue.

JudahGabriel commented 3 years ago

I just tried creating a Store package and it worked.

@sparkktv what URL are you using?

UPDATE I see you opened up a separate issue. I'll talk to you there.

JudahGabriel commented 3 years ago

@gregorgretz what URL are you using?

JudahGabriel commented 3 years ago

@Calculamatrise I'm also unable to reproduce. I've tried creating both a test package and a store package.

Are you still hitting the issue?

JudahGabriel commented 3 years ago

Closing this issue, as we're unable to repro.

Sparkktv opened an issue specifically for his case, which is able to be repro'd.