RedMadRobot / figma-export

Command line utility to export colors, typography, icons and images from Figma to Xcode / Android Studio project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when export Typography

voragomod opened this issue · comments

When I try export typography get error, at the same time colors, icons and pictures are loaded perfectly, thank you very much!

Error:
figma-export typography

2021-10-30T13:01:12+0300 info com.redmadrobot.figma-export : Using FigmaExport 0.29.0 to export typography.
2021-10-30T13:01:12+0300 info com.redmadrobot.figma-export : Fetching text styles. Please wait...
Error: valueNotFound(Swift.String, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "nodes", intValue: nil), _JSONKey(stringValue: "329:9708", intValue: nil), CodingKeys(stringValue: "document", intValue: nil), CodingKeys(stringValue: "style", intValue: nil), CodingKeys(stringValue: "fontPostScriptName", intValue: nil)], debugDescription: "Expected String value but found null instead.", underlyingError: nil))

Our typography:
Снимок экрана 2021-10-30 в 13 05 16

Hello. Could you please show me your figma-export.yaml file?

Is it possible to give me an access to your Figma file? If no, could you please create a new one and copy text styles into it?

The problem definitely cannot be in figma-export.yaml, bcs if I set test project id from article I successfully fetch fonts.

I'll ask our designer to make a project with only fonts and give an identifier, is that okay?

Снимок экрана 2021-11-01 в 00 57 41

I'll ask our designer to make a project with only fonts and give an identifier, is that okay?

Yes.

I've found a bug, fix it and release a new version. Please update to the 0.31.1 and check again.

Great, now everything works, thanks a lot!