Skip to content

[Compose] Parser exited with code 1 Error #346

@vagabond95

Description

@vagabond95
  • Code Connect CLI version : 1.3.12
  • code-connect-lib : 1.1.3
  • com.figma.code.connect: 1.2.6
    • 1.2.7 version occurs "Could not find FigmaCodeConnect:annotations:unspecified" Error
  • kotlin : 2.2.21

Full stacktrace

Trace: Error: Parser exited with code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/@figma/code-connect/dist/connect/parser_executables.js:119:32)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1101:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
    at getCodeConnectObjects (/usr/local/lib/node_modules/@figma/code-connect/dist/commands/connect.js:182:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async getUnconnectedComponentsAndConnectedComponentMappings (/usr/local/lib/node_modules/@figma/code-connect/dist/connect/wizard/run_wizard.js:536:32)
I read in a previous issues (https://github.com/figma/code-connect/issues/272, https://github.com/figma/code-connect/issues/287) that upgrading the Kotlin version to 2.2.x would resolve this problem.

I read in a previous issues(#272, #287) that upgrading the Kotlin version to 2.2.x would resolve this problem.
However, the issue still occurs in version 2.2.21. Could you please identify the root cause and suggest a solution?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions