Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config : Compose Android Figma Connect #207

Open
DAKSHSEMWAL opened this issue Nov 11, 2024 · 0 comments
Open

Config : Compose Android Figma Connect #207

DAKSHSEMWAL opened this issue Nov 11, 2024 · 0 comments

Comments

@DAKSHSEMWAL
Copy link

Please provide:

  • version "1.2.2"
  • Operating system "MacOS"
  • Platform Android
    Even after having this config I am getting error
  {
  "codeConnect": {
    "include": ["src/main/kotlin/com/****/components/divider/*"],
    "exclude": [
      "test/**",
      "docs/**",
      "build/**",
      "playground"
    ],
    "parser": "compose",
    "gradleWrapperPath": "../../gradlew",
    "component": "divider",
    "mode": "default",
    "paths": "src/main/kotlin/com/***f/components/divider/*",
    "filePath": "tmp/figma-code-connect-parser-divider.json.tmp"
  }
}

Config file found, parsing /Users/a1019229/StudioProjects/fabric-components-android/components/divider using specified include globs
Running parser: ../../gradlew -p ../.. parseCodeConnect -PfilePath=tmp/figma-code-connect-parser-io.json.tmp -q

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':components:divider:parseCodeConnect'.
>
Fields [mode, paths] are required for type with serial name 'com.figma.code.connect.models.CodeConnectParserParseInput', but they were missing at path: $

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or
--debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at
https://help.gradle.org.

BUILD FAILED in 996ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant