[Solved ✅] "composio login" ends prematurely with "inquirer.prompt is not a function" error

I can't paste the code into the terminal because the CLI ends prematurely
composio login
> Please login using the following link
https://app.composio.dev?[redacted]
inquirer.prompt is not a function
composio login
> Please login using the following link
https://app.composio.dev?[redacted]
inquirer.prompt is not a function
Environment: Windows PowerShell, Node v20.18.0
2 Replies
absent-sapphire
absent-sapphire2mo ago
Hey @Raymel (@pseudokid on X), we recommend you to use an ubuntu based terminal. Also install the latest composio once
adverse-sapphire
adverse-sapphireOP2mo ago
Hi @thatsmeadarsh, appreciate the response! I just tried it with WSL 2 and Node v23.6.0, and I'm still getting the same issue. How do I know if composer CLI is the latest version? I installed it with npm i composio-core -g Okay, I was able to log in successfully with WSL 2 and Python. I still think the Node variant of the CLI should be checked.

Did you find this page helpful?