Back

[SOLVED] Appwrite "appwrite" module not working

  • 0
  • Web
Vexoa
24 Feb, 2023, 15:48

let me try upgrade

TL;DR
User was having issues with the "appwrite" module not working in their app. They found a solution by running the command `set NODE_OPTIONS=--openssl-legacy-provider` in Windows CMD. Another user suggested updating all packages to the latest version. The issue was most likely caused by using Node.js version 19.4.0, which is not compatible with Appwrite.
VincentGe
24 Feb, 2023, 15:51

Works fine on my machine, too 🤔

VincentGe
24 Feb, 2023, 15:51

Are you on Windows, Linux, or Mac

Vexoa
24 Feb, 2023, 15:51

Windows

Vexoa
24 Feb, 2023, 15:51

It's most likely v19.4.0 which doesn't work with Appwrite

VincentGe
24 Feb, 2023, 15:52

Does 19.5.0 work?

Vexoa
24 Feb, 2023, 15:52

Testing that rn

VincentGe
24 Feb, 2023, 15:52

😅 Yeah node can be very flakey

Vexoa
24 Feb, 2023, 15:53

This is like the 1st issue with node js that i have had in 4 years lmao

Vexoa
24 Feb, 2023, 15:54
Vexoa
24 Feb, 2023, 15:54

Only issue im getting rn

VincentGe
24 Feb, 2023, 15:55

🤣

Vexoa
24 Feb, 2023, 15:56

<:kek:872082912244273202> only trying to use appwrite, and node is just denying me lmao

VincentGe
24 Feb, 2023, 15:56

Let me try bumping all packages. Maybe you just need latest of everything.

Vexoa
24 Feb, 2023, 15:56

Alright

Vexoa
24 Feb, 2023, 15:59

Found a fix

Vexoa
24 Feb, 2023, 15:59
TypeScript
# for Windows CMD (Command Prompt)
set NODE_OPTIONS=--openssl-legacy-provider```
Vexoa
24 Feb, 2023, 15:59

I had to do this

Vexoa
24 Feb, 2023, 15:59
Vexoa
24 Feb, 2023, 15:59

FINALLY

Vexoa
24 Feb, 2023, 16:00

i can use Appwrite

joeyouss
24 Feb, 2023, 16:00

woho!

Vexoa
24 Feb, 2023, 16:01

[SOLVED] Appwrite "appwrite" module not working

VincentGe
24 Feb, 2023, 16:03

🤔 Glad it's working. Good luck!

Vexoa
24 Feb, 2023, 16:12

Now time to test it in my app

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