Open
Description
Please provide:
Code Connect CLI version: 1.2.4
Code Connect lib: 1.1.3
Code Connect Plugin lib: 1.2.1
Kotlin Gradle Plugin: 2.0.21
figma.config.json (I input this file in app directiory)
{
"codeConnect": {
"include": ["src/main/**"],
"exclude": ["src/androidTest/**", "src/test/**", "build/**"],
"parser": "compose",
"gradleWrapperPath": "../gradlew"
}
}
Issue
npx figma connect --token="{PERSONAL_ACCESS_TOKEN}" --verbose
Welcome to Code Connect ~~
Config file found, parsing {path}/app using specified include globs
✔ What is the URL of the Figma file containing design components you'd like to connect? … https://www.figma.com/design/~~
Fetching component information from https://api.figma.com/v1/code_connect/{FIILE_KEY}/cli_data
Error returned from parser: Parser exited with code 1. Try re-running the command with --verbose for more information.
I got this error when I try to connect figma without detailed error reason. Do you have any solution about this?
And I want to try connect and select component without interactive setup.
Is there any way to connect figma with single line command ?
Oh, I have a extra question.
Why tmp directory is created automatically? It seems that made it whenever i try to connect figma, I think.
In my case, tmp directory made in app directory. (app/tmp)
Thanks