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
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor
- Appwrite Sites deployment fails because ...
Appwrite Cloud Sites deployments are failing consistently for both GitHub and manual deployments. The build command completes successfully and packaging also c...
- Build succeeds but deployment fails — si...
My Next.js 15.5.20 site (standalone output mode) builds successfully on Appwrite Sites, but the deployment fails at the final packaging step with: [sidecar:bui...