buffer.File is an experimental feature and might change at any time (Next.js)
a-r-o-l
PROOP

a year ago

I need help please!
In this project there are two section available to upload images to a S3 bucket. In the first section the upload process is with individual files and all works fine, but the second section uses a very similar upload function but whit several files as params and the function fails, the error is:

(node:15) ExperimentalWarning: buffer.File is an experimental feature and might change at any time

(Use node --trace-warnings ... to show where the warning was created)
ReferenceError: File is not defined

This doesn't happen in the local environment, all works successfully

Solved

4 Replies

a-r-o-l
PROOP

a year ago

some pictures


Please try to set engines.node to the same version as you use locally in your `package.json` file.


Status changed to Awaiting User Response Railway about 1 year ago


a-r-o-l
PROOP

a year ago

Thank you very much!


Status changed to Awaiting Railway Response Railway about 1 year ago


Glad it worked!


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved christian about 1 year ago


Loading...