Skip to content
Back

Appwrite CLI: βœ— Error Unexpected 'r'

  • 0
  • Tools
  • Cloud
jSnakeπŸπŸ•Š
26 Sep, 2025, 00:42

I get this error when I try to run any command, I am logged in but anything like init project etc gives this error. I am using v20.0.0 of node and installed appwrite-cli with -g

TL;DR
Developers encounter an 'Unexpected 'r'' error when trying to run Appwrite CLI commands despite being logged in. The issue may arise due to a compatibility problem with Node v20.0.0. Consider downgrading to a stable Node version, like 14.x, which should resolve the problem.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more