code-connect icon indicating copy to clipboard operation
code-connect copied to clipboard

Config : Compose Android Figma Connect

Open DAKSHSEMWAL opened this issue 1 year ago • 0 comments

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

DAKSHSEMWAL avatar Nov 11 '24 10:11 DAKSHSEMWAL