Open DavidGeismarLtd opened 3 years ago
Howdy @DavidGeismarLtd! Could you provide a bit more detail on what page and what element you updated?
@maxcell FYI, I was able to reproduce the bug by replacing the featured image to use a URL instead of using one of the uploaded images in the CMS.
If you'd like to reproduce it, you can follow the instructions on the netlify cms getting started page, pick the Gatsby template, replace the featured image with an image URL and publish. Your deploy should fail with 👇
Otherwise, locally, in one of the posts' frontmatter, change the featuredimage
to an image URL and you should see that it doesn't display the image.
I think the issue is in the GraphQL schema of the BlogRoll component:
featuredimage {
childImageSharp {
fluid(maxWidth: 120, quality: 100) {
...GatsbyImageSharpFluid
}
}
}
I think there's some changes we need to make so we can work with image URLs but I could be wrong, I haven't played with Gatsby in a while!
Our config.yml also seems to show that the type of featured images is image
and not string
so maybe that has to do with this as well 🤷♀️
That makes sense to me! We can settle the migration process and go and investigate a bit more! I tried to fiddle with a few pages content and didn't think to try the images so at least we have a path forward!
I've experience similar error, like this: Field "full_image" must not have a selection since type "String" has no subfields
when editing a page. I revert my change and it still showed this error, and the whole site can't be develop locally. Doing gatsby clean
to clear up the cache then running gatsby develop
again fixed the issue as explained in here
I'm also having the same issue uploading images via the the netlify-cms with the same error message as @charliegerard
Glad to see it's already being worked on! Thanks!
Any updates on this issue? I have just had this same error when trying to build for the first time locally.
No updates, but I am gonna bring this back up to the team and figure out how we can prioritize it. Thank you for bumping it!
@matheusdamiao Wait did you have this issue on a fresh deploy / build? Or similar issue where you included a remote URL for the featured image?
@matheusdamiao What operating system are you using? Can you provide any details as far as your node version and NPM version?
@matheusdamiao Wait did you have this issue on a fresh deploy / build? Or similar issue where you included a remote URL for the featured image?
The first option. I had this issue after cloning this repo and trying to develop locally. I didn't change anything within the repo but got a dozen of this error:
Node.js version: ">= 14.15.0" NPM: 8.1.2 Operating System: Windows 10 Pro x64
Bug report
What is the current behavior? I edited page on netlify cms
If the current behavior is a bug, please provide the steps to reproduce. Edit a page on netlify cms
What is the expected behavior? Automatic deploy should not fail after page edition
Other relevant information:
Node.js version: NPM/Yarn version Operating System: Additional tools: