figma-export
figma-export copied to clipboard
Error save file when download image in webp

at the same time, you can see that the "card / blocked" format is parsed as "card___blocked"
Hi. Thanks for the issue. Could you please show me your figma-export.yaml
file? Could you please also show me original name of the illustration (component)? Like this:


You have wrong nameValidateRegexp
/nameReplaceRegexp
:
When nameReplaceRegExp
applied name becomes illustration_card _ blocked
. Next, spaces replaced with _
. Name becomes illustration_card___blocked
.

Hi, @Sx1a9z4f. Did you resolve the issue? Do you need additional help?
I have the same issue on our gitlab ci/cd, but locally everything is fine
Error: The file “img_132_duration_1.webp” doesn’t exist.
regex rule not specified in figma-export.yaml file
Could you help me?
Do you have cwebp
utility on your gitlab runner?
That was the problem! thank you!
Hey - this was an issue for me locally as well. I believe the documentation could contain some instruction on running
brew install webp
if the format is set to webp, especially as the error message isn't really clear that it was unable to convert the files. Maybe that can be also improved. But this thread and your answers were helpful anyway, thanks!