Rank 2: Process
Same as title.
Project includes Next.js API route so I used SSR option for Next.js but I am still getting the error.
Votes
0
Replies
15
Participants
Unknown
Messages
16
Rank 2: Process
Same as title.
Project includes Next.js API route so I used SSR option for Next.js but I am still getting the error.
Rank 2: Process
Repo I am trying to deploy
https://github.com/mdhruvil/gemini-test
Rank 2: Process
Idk why the appwrite is detecting Next.js as static
Rank 2: Process
The build directory indeed has a file that utopia-detector checks for nextjs.
Reference https://github.com/utopia-php/detector/blob/fc705e3f0e9845f685fe9de7e599c8fc179da616/src/Detection/Rendering/SSR.php#L10
cc @Meldiron
Hmm this might be issue with turbopack 🤔 Can you try ti switch to Webpack, see if that resolves the issue?
Rank 2: Process
Yeah, let me try that
Rank 2: Process
Yeah, switching to webpack has solved the issue
Rank 2: Process
cc @Meldiron
Cooool cool cool. good to know. Ill note it down and see if we can make proper fix next week, to support webpack as well
Rank 2: Process
Sure, Thank you for your help.
Rank 2: Process
Also, a question does Appwrite Sites support streaming responses ?
Rank 2: Process
Because in my demo it's not working
Rank 2: Process
it's just sending demo all at once without streaming
Heyy, not right now, but it's a hot topic so I expect this to come to appwrite soon.
As for Hackathon, you can use external services, so you could host function that needs streamed response on, let's say, Deno Deploy. If you need it stateful, you could use Railway. Or anything else you are already familiar with 🙌
Rank 2: Process
Oh Okay