issueatlas · · Reply permalink
The culprit is the isomorphic-form-data package, pulled in by older Appwrite and Twilio SDKs: it overwrites Node's native global.FormData with the form-data package, which does not implement the Web FormData#get() API that React Server Actions require. A maintainer reproduced the exact error only when that package was loaded and closed it as an incompatible third-party polyfill. Fix: upgrade the affected SDK (Appwrite removed the dependency in v15.0.0; current Twilio Conversations versions no longer include it) and restart the dev server — Fast Refresh cannot undo the global mutation. Workarounds if you can't upgrade: alias isomorphic-form-data to a stub file via webpack NormalModuleReplacementPlugin, via Turbopack's experimental.turbo.resolveAlias, or override it to npm:form-data@4.0.4 in pnpm-workspace.yaml. Source: https://github.com/vercel/next.js/issues/60687