figma-to-json icon indicating copy to clipboard operation
figma-to-json copied to clipboard

Error export .fig file

Open mulyoved opened this issue 2 years ago • 1 comments

934-db9f79f4207e36b3.js:1 Uncaught (in promise) RangeError: offset is out of

image

Flow

  • Upload attached .fig, -> converted to JSON fine
  • Download JSON
  • refresh the page
  • Upload JSON file from 2
  • Export .fig -> Failed with error

small-sample.zip

Any idea where to start looking?

mulyoved avatar Feb 09 '23 13:02 mulyoved

Hey Muly, off top of my head the first place to look would be any embedded images or videos.

Figma introduced videos after I originally wrote this, so I never got to test it with videos yet.

They also support gifs now in fills and even pngs.

So if you stripped down images, can you still encode and decode a single file with a box with a fill in it?

yagudaev avatar Feb 11 '23 20:02 yagudaev