ENOENT: no such file or directory, open 'fs' code example
Example: Error: ENOENT: no such file or directory, open
cloudinary.config({
cloud_name: process.env.CLOUDINARY_NAME,
api_key: process.env.CLOUDINARY_API_KEY,
api_secret: process.env.CLOUDINARY_API_SECRET,
shorten: true,
secure: true,
ssl_detected: true
})
const response = await cloudinary.uploader.upload(req.file.path)
console.log(response)