79288248

Date: 2024-12-17 14:29:32
Score: 1
Natty:
Report link

Cloudinary might be configuring before loading the env variable..... hence when I added following line in top of the file... Now it's working properly

import dotenv from 'dotenv'
dotenv.config()

alternative way, You can try configuring the cloudinary in entry file(e.g. index.js)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Piyush Ghavghave