npx figma connect create "https://www.figma.com/design/ourURL?node-id=12345%3A2586&m=dev" --token=xx --verbose
Config file found, parsing CodeConnect using specified include globs
Fetching component information from Figma...
Parsing response
Generating Code Connect files...
Directory enabled for swift run command
Found Code Connect Swift package at CodeConnect, building parser binary. This may take a few minutes if this is the first time you've run Code Connect.
Running parser: swift run --package-path /Users/janedoe/.../CodeConnect figma-swift
Building for debugging...
[0/3] Write swift-version--58304C5D6DBC2206.txt
Build of product 'figma-swift' complete! (0.27s)
Error: componentFailedToParse
Failed to create: Parser exited with code 1
Please raise any bugs or feedback at https://github.com/figma/code-connect/issues.
How do I debug this error?
Figma MCP can fetch the info about the component just fine.