banze
banze
TtRPC
Created by banze on 9/27/2023 in #❓-help
ReferenceError: FormData is not defined
I am using the experimental form data as shown in the examples and it works correctly on my machine, but when deploying to DigitalOcean App Platform, I get the error you see below. ReferenceError: FormData is not defined in /node_modules/@trpc/server/dist/adapters/node-http/content-type/form-data/index.mjs for:
const formData = new FormData();
const parts = streamMultipart(Readable.toWeb(request), boundary);
const formData = new FormData();
const parts = streamMultipart(Readable.toWeb(request), boundary);
Can anyone save me?
5 replies