Edward AldersonOriginal post
Rank 1: Thread
Dear all,
I was trying to use Server Actions in my NextJs app to upload to Storage a file uploaded from a client form.
On local environment everything works just fine, but on Netlify the process stops. After three days I understood the problem sits with Netlify.
In the logs I see:
ERROR: ExperimentalWarning: buffer.File is an experimental feature and might change at any time
ERROR ReferenceError: File is not defined
Summary
Experimental feature warning on 'buffer.File' in the code related to file uploads in a Next.js app using Server Actions. Works locally but stops on Netlify due to 'File is not defined' error. This issue is related to 'buffer.File' being an experimental feature that might change at any time. Consider adjusting the code to avoid using experimental features if possible.