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

Empty localAsset in graphql query #219

Open
GlebKoley opened this issue Mar 13, 2024 · 0 comments
Open

Empty localAsset in graphql query #219

GlebKoley opened this issue Mar 13, 2024 · 0 comments

Comments

@GlebKoley
Copy link

GlebKoley commented Mar 13, 2024

I have the data in the Contentstack. I get everything I need through graphml, but when I want to get a localAsset of images, nothing comes out. I've already tried a lot of things, nothing helps. I expect the publicUrl field to be in the request graph in localAsset, here is an example from the gatsby-source-contentstack documentation -

image
but I don't have it. What could this be related to? Can you please help with this issue.

package.json - "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.0", "@mui/material": "^5.15.12", "axios": "^1.6.7", "dotenv": "^16.4.5", "gatsby": "^5.13.3", "gatsby-image": "^3.11.0", "gatsby-plugin-image": "^3.13.1", "gatsby-plugin-react-helmet": "^6.13.1", "gatsby-plugin-react-svg": "^3.3.0", "gatsby-plugin-sharp": "^5.13.1", "gatsby-source-contentstack": "^5.3.0", "gatsby-source-filesystem": "^5.13.1", "gatsby-transformer-sharp": "^5.13.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-helmet": "^6.1.0", "recoil": "^0.7.7", "styled-components": "^6.1.8" }

gatsby-config -
image

I have downloadImages set to true, but for some reason there is also no image when building public/static.

graphql -
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant