Back

App Write CLI error

  • 0
  • Tools
  • General
mayank.12
16 Sep, 2023, 16:08

So I followed the instructions for installing the CLI on windows as given on https://appwrite.io/docs/command-line but I am getting this error. How do I fix this?

TL;DR
Based on the messages in the support thread, the issue seems to be related to unexpected tokens when installing or running the App Write CLI. Some solutions mentioned include upgrading the version of node on the machine, uninstalling the binary, and trying to use it with npm instead. It is also suggested to create a new support post if the problem persists.
NextG
16 Sep, 2023, 16:27

Did you try to use it with npm?

NextG
16 Sep, 2023, 16:28

I got the same error when i used it with the binary prebuild

mayank.12
17 Sep, 2023, 15:23

Still getting the same error. What should I do?

Drake
17 Sep, 2023, 17:01

Did you uninstall the binary?

Osman
17 Sep, 2023, 18:50

have you tried running npx appwrite -v

moamen
18 Sep, 2023, 12:26

had the same issue and this worked for me

ilikechicken77
28 Sep, 2023, 08:51

I have the same issue and using it with npm didnt resolve it. It complains about unexpected tokens when installed via npm install -g appwrite-cli

ilikechicken77
28 Sep, 2023, 08:53

I tried older Releases with the same effect only the unexpected tokens are changing e.g. in cli version 3.0.0 its "?"

Drake
28 Sep, 2023, 20:02

You might need to upgrade the version of node on your machine. It you're still having trouble please create a new <#1072905050399191082> post

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