ReferenceError: FormData is not defined at SerializerNativeImpl.serialize #976
-
Using the example of uploading media to Mastodon, I get the error
How can I resolve this issue? I'm using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @individual8, thank you for posting a question. I suppose that you're using an unsupported JavaScript environment. Can you verify that you're using Node.js >= 18.0.0? In principle, we're not supporting Node.js older than 18.x.x because it doesn't offer |
Beta Was this translation helpful? Give feedback.
Hi @individual8, thank you for posting a question. I suppose that you're using an unsupported JavaScript environment. Can you verify that you're using Node.js >= 18.0.0?
In principle, we're not supporting Node.js older than 18.x.x because it doesn't offer
FormData
,fetch
and other APIs, making it difficult to be compatible with browser environments.