It took me 3 hours and almost a heart attack

To realize that the problem is with the farthest thing I could ever think of

Can someone explain why cloudinary.config doesn‘t accept .env varriavbles

While Iam 100 sure I declared and configed the dotenv

Comments

  • johnr
    johnr Member Posts: 19

    Hi @Blaxinoss,

    Our SDKs do support .env variables. Can you please share the following:

    - SDK you are using (please mention the version).
    - A sandbox or your code snippets (including the imports)
    - Error message you are getting.

    Best,
    John

  • Blaxinoss
    Blaxinoss Member Posts: 3
    edited December 2024

  • Blaxinoss
    Blaxinoss Member Posts: 3

    well I tried it again after getting the npm install and it worked somehow maybe it was dependencies problem maybe I should have looked more for the documentations

  • SreeCloudinary
    SreeCloudinary Member, Cloudinary Staff Posts: 46

    Hi @Blaxinoss ,

    I am glad you were able to figure out. Please let us know if we can help further.

    Thanks,

    Sree