uploadthing error
I'm using the DANGEROUS__uploadFiles function and keep getting this error. I don't think I have done anything wrong, is this function deprecated?
7 Replies
core.ts
route.ts
env has correct keys
tried the latest version of
uploadthing
and ^5.3.3 as it worked previously in another project.
tried the latest version of @uploadthing/react
and ^5.3.0 as it worked previously in another projectwhere are you using DANGEROUS_uploadFiles
oh actually this error is probably cause you're using Node 16 right?
fetch() is a bit stupid there and doesn't work all the time, we suggest using Node 18+, and as Node 16 is EOL I don't think we'll fix this error
fyi, you'll get a big warning that will make this error easier to debug in the next version
oof
work make me use 16 I forget...
trying a different version now
yeah, it works. thanks for pointing that out for me.