code-connect
code-connect copied to clipboard
Parameter specified as non-null is null: method FigmaCodeConnectPlugin.apply, parameter $project
Hi! I tried to integrate code connect, but got strange silly error:
figma connect create "MY_LINK" --token MY_TOKEN --verbose
This is output
Config file found, parsing /Users/me/StudioProjects/myproject using specified include globs
Fetching component information from Figma...
Parsing response
Generating Code Connect files...
Running parser: ./gradlew -p . createCodeConnect -PfilePath=tmp/figma-code-connect-parser-io.json.tmp -q
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':createCodeConnect'.
> Parameter specified as non-null is null: method com.figma.code.connect.FigmaCodeConnectPlugin.apply$lambda$15$lambda$13, parameter $project
BUILD FAILED in 862ms
Failed to create: Parser exited with code 1
Can u help me? I installed Figma Code Connect yesterday morning, so version is last. Of course, I add to my module
dependencies {
implementation "com.figma.code.connect:code-connect-lib:1.+"
}
and plugin for root project
plugins {
id "com.figma.code.connect" version "1.+"
}
Clean & rebuild didnt help, invalidate caches too. Application worked fine.
I use mac os ventura 13.4.1, Android Studio Ladybug | 2024.2.1 Patch 1. What did I miss?
I have the same failure on another PC with another os (windows 11), so its not a local problem