material-foundation / material-theme-builder

Visualize dynamic color and create a custom Material Theme.
https://material-foundation.github.io/material-theme-builder/
Apache License 2.0
362 stars 28 forks source link

Download is not working #137

Closed lululeon closed 1 year ago

lululeon commented 1 year ago

Describe the bug Downloading custom design on material theme builder not working: https://m3.material.io/theme-builder#/custom

To Reproduce Steps to reproduce the behavior:

  1. Go to the material theme builder
  2. Click on the export button at top right and select Jetpack Compose Theme
  3. Open the inspector and look at the console. You will find the error:
    app.js?version=1670027719620561:13291 Uncaught (in promise) TypeError: module$exports$google3$third_party$javascript$typings$jszip$index is not a constructor
    at module$exports$google3$ux$material$theme_builder$core$exporters$compose$ComposeExporter.download (app.js?version=1670027719620561:13291:794)
  4. No files/assets are downloaded.

Expected behavior Expected files/assets to be downloaded

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

margeeta commented 1 year ago

Hi! We recently released a new build, can you try reloading and trying again. This issue seems to be random and usually resolved with refreshing. Thanks!

lululeon commented 1 year ago

Ya it works great! I forgot to circle back and close this; closing now. Must've been something intermittent!