Why cloudinary.uploader.upload_stream() does not work with the latest NextJS version?
Mozahedul
Member Posts: 1 ✭
let cloudinary = require("cloudinary").v2; let streamifier = require('streamifier'); let cld_upload_stream = cloudinary.uploader.upload_stream( { folder: "foo" }, function(error, result) { console.log(error, result); } ); streamifier.createReadStream(req.file.buffer).pipe(cld_upload_stream);
Tagged:
0
Answers
-
Hi @Mozahedul ,
Thanks for reaching out.
Could you confirm what error messages are you getting? Also, how big is the file you are uploading?
I'm looking forward to your response.
Kind Regards,
Thomas
0