Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning [gatsby-transformer-cloudinary] No metadata for ... gatsbyImageData will resolve to null #239

Closed
amcc opened this issue Jun 20, 2023 · 4 comments · Fixed by #242
Closed
Labels

Comments

@amcc
Copy link

amcc commented Jun 20, 2023

It is possible to suppress these warnings. For a site we're building we're getting over 3000 warnings like this which sometimes seems to be causing the build to fail.

Checking a few of the culprits. They're videos, or other non-image files, so nothing is wrong really.

using gatsby@5.9.1 and gatsby-transformer-cloudinary@4.4.0

@raae
Copy link
Collaborator

raae commented Jun 20, 2023

Sure, I'll look into making them only appear with the verbose flag, maybe. Or configure them to be turned off.

@amcc
Copy link
Author

amcc commented Jun 20, 2023 via email

@raae
Copy link
Collaborator

raae commented Jul 28, 2023

Added logLevel to the resolver so one can do to only get logs for errors and above, will be released this weekend:

          gatsbyImageData(
            height: 200
            backgroundColor: "#BADA55"
            logLevel: "error"
          )
cloudinary-raae pushed a commit that referenced this issue Aug 1, 2023
github-actions bot pushed a commit that referenced this issue Aug 1, 2023
# [4.5.0](v4.4.0...v4.5.0) (2023-08-01)

### Features

* add resolver log level ([#242](#242)) ([b8cf805](b8cf805)), closes [#239](#239)
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

🎉 This issue has been resolved in version 4.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants