Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [decap-cms]

Decap CMS (formerly Netlify CMS) is an open source content management system that generates/edits markdown files, which are committed directly to a git repository (like GitHub). The repository is usually set up to then trigger a new build of the website using a static site generator.

decap-cms
142 questions with no upvoted or accepted answers
6 votes
1 answer
2k views

RuntimeError: memory access out of bounds - gatsby development extremely slow

Developing on Gatsby has been over time significantly slowing down - at times taking up 20-30 seconds for the hot loader to refresh the page. After around 10-20 updates to a page - it eventually ...
jchi2241's user avatar
  • 2,194
4 votes
0 answers
432 views

How do I use environmental variables in yaml

In my yaml file for my nextjs project using netlify-cns I have a config.yaml file. and I need to access the process.env.APIKEY here is my code media_library: name: cloudinary config: ...
Alexander Hemming's user avatar
4 votes
0 answers
1k views

Gatsby + Netlify CMS images from Markdown are not converted

I am making my first site with Gatsby + Netlify CMS, after some tutorials that I did. But now I started from this template Gatsby-London. How this templete is not integrated with Netlify CMS. I worked ...
Rogar's user avatar
  • 155
4 votes
0 answers
1k views

GraphQL/Netlify CMS - don't error if query field is undefined (doesn't exist)

I'm using Gatsby with Netlify CMS and have some optional fields in a file collection. The problem with this is that I'm unable to retrieve these fields using GraphQL, as the field doesn't exist if it ...
Jake's user avatar
  • 4,155
4 votes
0 answers
431 views

NetlifyCMS Auth on AWS Amplify

Has anyone used AWS amplify to host their static Gatsby site with NetlifyCMS? I can't figure out how to properly do authentication (using bitbucket). Do I need another package?
RedOster's user avatar
  • 325
3 votes
1 answer
637 views

Netlify Deployment Failure: Failed during 'building site': Build script returned non-zero exit code: 1

I am having issues building my site. Everything works when I use Gatsby Serve and Gatsby Build does not throw me any errors. I wish I had more details but unfortunately, this error code doesn't really ...
Jacob Byers's user avatar
3 votes
0 answers
2k views

GraphQL Error: Field "image" must not have a selection since type "String" has no subfields

Description I am new and learning GatsbyJs/NetlifyCM/GraphQL so I am sorry if I come across as stupid. I, however, have been trying to fix this issue for 5 days now and am at my wits end. I am ...
Aaron Cuddeback's user avatar
3 votes
2 answers
783 views

How do I set up correctly cloudinary for Netlify CMS?

I'm trying to set up Cloudinary in for my Gatsby.js blog using Netlify.cms What I want is to be able to have a widget in the CMS that allows me to select multiple images to add to a "gallery" field ...
Matteo Carpi's user avatar
3 votes
1 answer
194 views

Netlify CMS - save data to project root (e.g. `__dirname`)

I'm using Netlify CMS within a Gatsby Theme. Here is an example of my project structure: root/ themes/ gatsby-theme-example/ pages/ index.js static/ admin/ ...
Jake's user avatar
  • 4,155
3 votes
0 answers
697 views

How to add a custom widget with NetlifyCMS?

I'm making a website based on Gatsby and I'm currently trying to add a custom component in the NetlifyCMS. It's the fontawesome widget, but I tried to add it thank to the netlifycms documentation, but ...
Nathan Billeau's user avatar
3 votes
0 answers
496 views

Conflict between the Netlify CMS preview and gatsby-remark-embed-video

I'm trying to create a youtube editor component with gatsby-remark-embed-video. I'm using Gatsby, Netlify CMS, and Netlify. I want to have a preview of the video (can be the video itself or an image) ...
Mariana Martins Menezes's user avatar
2 votes
0 answers
336 views

NextJS Image Component relative image from NetlifyCMS markdown

I keep receiving an error in NextJS when trying to use the image component with data from NetlifyCMS. Does anyone know how to ensure there's a leading slash to the image url that is generated into ...
user1710395's user avatar
2 votes
0 answers
492 views

Github - Take check status and update commit status

Simplifying Question: How do I make a github action that will take a specific checkstatus for a commit (pull) and update the commit status of that pull? (These being two different APIs). -- ADDITIONAL ...
Rogelio's user avatar
  • 976
2 votes
0 answers
223 views

Netlify CMS: Is there a way to change default sorting of fields?

Quick question, is there an option to change default sorting in Netlify CMS? I did not add any new sortingFields (just default ones). Just need to sort articles by default by date, instead on load it ...
Fill's user avatar
  • 537
2 votes
0 answers
347 views

How do I update Netlify identity user's app metadata?

I am using gotrue-js in react to signup and login users to my netlify identity. I am getting an error called "data":{"code":401,"msg":"Invalid token: signature is ...
Keshawn Sharper's user avatar

15 30 50 per page
1
2 3 4 5
10