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 android package #2344

Closed coffeefreak1023 closed 2 years ago

coffeefreak1023 commented 2 years ago

I received the following error when generating a package for https://engram-front.herokuapp.com/

Error: Error generating Android package. Status code: 500 Error: Internal Server Error Details: Error generating app package: parse color failed stack: TypeError: parse color failed at /app/node_modules/canvg/lib/index.js:4774:18 at Array.forEach () at LinearGradientElement.createGradient (/app/node_modules/canvg/lib/index.js:4773:59) at Property.getFillStyleDefinition (/app/node_modules/canvg/lib/index.js:597:20) at PathElement.setContext (/app/node_modules/canvg/lib/index.js:2636:41) at PathElement.render (/app/node_modules/canvg/lib/index.js:2056:14) at /app/node_modules/canvg/lib/index.js:2096:15 at Array.forEach () at GElement.renderChildren (/app/node_modules/canvg/lib/index.js:2095:79) at GElement.render (/app/node_modules/canvg/lib/index.js:2057:14)

ghost commented 2 years ago

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

I'm unable to repro.

I analyzed https://engram-front.herokuapp.com in PWABuilder, advanced to publish page, downloaded the Android package.

From the looks of your error, it appears to be an issue with one of your images. Perhaps you've fixed it? Feel free to reopen the issue if you're still having trouble.