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

Unable to set figma file location during interactive setup #233

Open
AndyJPhillips-lively opened this issue Jan 24, 2025 · 0 comments
Open

Comments

@AndyJPhillips-lively
Copy link

Hey team,

I'm getting an issue when using the interactive setup. Currently, whenever I get to the following step, it throws an error no-matter what input I provide (a valid directory path or hit enter for co-location)

What directory should Code Connect files be created in? (Press enter to co-locate your files alongside your component files)

Below is the full stack trace:-

? What directory should Code Connect files be created in? (Press enter to co-locate your files alongside your component files) › node:internal/readline/emitKeypressEvents:74
            throw err;
            ^

TypeError: Cannot read properties of undefined (reading 'disabled')
    at SelectPrompt.submit (<REDACTED_PATH>/node_modules/prompts/lib/elements/select.js:68:25)
    at ReadStream.keypress (<REDACTED_PATH>/node_modules/prompts/lib/elements/prompt.js:32:16)
    at ReadStream.emit (node:events:530:35)
    at emitKeys (node:internal/readline/utils:371:14)
    at emitKeys.next (<anonymous>)
    at ReadStream.onData (node:internal/readline/emitKeypressEvents:64:36)
    at ReadStream.emit (node:events:530:35)
    at addChunk (node:internal/streams/readable:561:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
    at Readable.push (node:internal/streams/readable:392:5)

Node.js v20.18.1

It looks like an error is being thrown for the CLI prompt, but would appreciate any assistance if this is a user error.

I have added --verbose flag with the above error thrown.

thanks!

  • Code Connect CLI version
    • 1.2.4
  • Operating system
    • macOS 15.2 (24C101)
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