https://github.com/vercel/next.js/issues/60687
I saw the fix for this issue was merged last week.
https://github.com/appwrite/sdk-generator/pull/834
I upgraded my local appwrite setup to 1.5.6 but still the issue seems to persist.
Can someone guide on how to add the fix to sdk for the local setup ?
Followed this https://appwrite.io/docs/tutorials/nextjs-ssr-auth/step-1 for handling ssr auth
Even the workaround provided in the issue is not working for me
/** @type {import('next').NextConfig} */
const webpack = require('webpack')
const nextConfig = {
webpack(config) {
config.plugins.push(
new webpack.NormalModuleReplacementPlugin(
/^isomorphic-form-data$/,
`${config.context}/form-data-mock.js`
)
)
return config
},
}
export default nextConfig
Added this to next.config.mjs
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...