Back

NextJS 14 server side component breaks when including Appwrite

  • 1
  • General
  • Web
Eddie Jaoude | EddieHub
16 Dec, 2023, 08:38

I created a new NextJS app, using Appwrite by itself works, using the new server components (server form action) works by itself also, but when combing both on the same page (but unrelated, Appwrite login/logout in the navbar) the form breaks

TypeScript
Error: e._formData.get is not a function

Is there an example of using Appwrite auth and the latest NextJS with a form and server side action?

App code https://github.com/EddieHubCommunity/RepoRater/tree/prototype

TL;DR
The user is experiencing an error when combining Appwrite and server components in their NextJS app. The error message is "Error: e._formData.get is not a function." They are seeking an example of how to use Appwrite auth and NextJS with a form and server-side action. Solution: Currently, there is no solution provided in the thread.
telemetry
16 Dec, 2023, 21:02

it doesn't work at the moment unfortunately.. "use client" for now..

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