You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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:-
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!
The text was updated successfully, but these errors were encountered: