pwa-builder/PWABuilder

[BUG] Android package generation fails every time with different error

Closed this issue · 1 comments

What happened?

When I try to generate and download a package for Android, it fails with different errors. Below are the errors it gives occasionally, not necessarily in sequence:

SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at TwaGenerator.writeWebManifest (/app/node_modules/@bubblewrap/core/dist/lib/TwaGenerator.js:225:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async TwaGenerator.createTwaProject (/app/node_modules/@bubblewrap/core/dist/lib/TwaGenerator.js:350:13)
at async BubbleWrapper.generateTwaProject (file:///app/build/bubbleWrapper.js:89:9)
at async BubbleWrapper.generateAppPackage (file:///app/build/bubbleWrapper.js:38:9)
at async createAppPackageWith403Fallback (file:///app/routes/project.js:261:16)
at async createAppPackage (file:///app/routes/project.js:237:16)
at async file:///app/routes/project.js:44:28

FetchError: request to https://www.evolutiespirituala.ro/manifest.webmanifest failed, reason: socket hang up
at ClientRequest. (/app/node_modules/@bubblewrap/core/node_modules/node-fetch/lib/index.js:1505:11)
at ClientRequest.clsBind (/agents/nodejs/node_modules/cls-hooked/context.js:172:17)
at ClientRequest.emit (node:events:525:35)
at ClientRequest.emitted (/agents/nodejs/node_modules/emitter-listener/listener.js:134:21)
at TLSSocket.socketOnEnd (node:_http_client:526:9)
at TLSSocket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Status code: 500. Error generating app package: request to https://www.evolutiespirituala.ro/wp-content/uploads/2022/10/K-A-R-A-N-N-A-3-512x512.png failed, reason: read ECONNRESET code: ECONNRESET

How do we reproduce the behavior?

  1. Go to https://www.pwabuilder.com/reportcard?site=https://www.evolutiespirituala.ro/
  2. Click Package For Stores
  3. Choose the Android Generate Package
  4. Click Download Package

What do you expect to happen?

No response

What environment were you using?

OS: Windows 11
Browser: Chrome Version 126.0.6478.127 (Official Build) (64-bit)

Additional context

No response

Hello! Unfortunately, I cannot reproduce this issue, I have successfully generated a package using your URL. Would you mind trying again? I know that is frustrating, but I cannot reproduce.