Back

[SOLVED] 'appwrite' is not recognized as an internal or external command

  • 1
  • General
  • Web
bigsam
21 Sep, 2023, 14:26

installing again now

TL;DR
The user was getting an error message 'appwrite' is not recognized as an internal or external command. They tried uninstalling and reinstalling Node, but it didn't work. The error was due to a misspelling of 'appwrite' in the command. Once the spelling was corrected, the process worked successfully.
Kenny
21 Sep, 2023, 14:26

ah okay

bigsam
21 Sep, 2023, 14:29

the environment variable

bigsam
21 Sep, 2023, 14:30

still getting this error after npm install -g appwrite-cli

Kenny
21 Sep, 2023, 14:31

Try %USERPROFILE%\AppData\Roaming\npm

bigsam
21 Sep, 2023, 14:36

this is what i am getting now

Kenny
21 Sep, 2023, 14:38

:( That's heart breaking. Are you using anything like NVM? Or just node? Have you already installed the CLI once? Do you know what version of the appwrite cli you're trying to use?

btme0011
21 Sep, 2023, 14:39

trywith version 2.0.2

Kenny
21 Sep, 2023, 14:39

To get the latest version?

bigsam
21 Sep, 2023, 14:40

i am not using nvm, just node, the cli is not installing and i am trying to use the cli latest version

btme0011
21 Sep, 2023, 14:40

can u once check with 2.0.2

btme0011
21 Sep, 2023, 14:40

if its working?

bigsam
21 Sep, 2023, 14:42

you mean i should check the cli version 2.0.2?

bigsam
21 Sep, 2023, 14:43

this still doesn't work

btme0011
21 Sep, 2023, 14:43

yes

Kenny
21 Sep, 2023, 14:44

Not sure if it makes a difference now but you spelt appwrite wrong here so that could be why it couldn't find it

bigsam
21 Sep, 2023, 14:46

i corrected the spelling and it says the same error

bigsam
21 Sep, 2023, 15:28

i used version 2.0.2 and still doesn't work

Kenny
21 Sep, 2023, 15:36

uninstall and reinstall node :P

Kenny
21 Sep, 2023, 15:36

It should be adding those paths automatically so it shouldn't be something you worry about

bigsam
21 Sep, 2023, 17:18

so…i did this(uninstall and reinstall node) then redo the process and it worked

bigsam
21 Sep, 2023, 17:19

thanks @Kenny and @btme0011 for your time and effort πŸ™‡πŸΎβ€β™‚οΈ

Drake
21 Sep, 2023, 17:55

[SOLVED] 'appwrite' is not recognized as an internal or external command

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