-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Error: Unrecognized front-matter format. + TypeError: e.commit is undefined #1272
Comments
I forked your repo and couldn't reproduce. Can you paste index.md? |
index.md only contains basic code:
And nothing else. You say you got an OK result from forking my repo? I'll try it again tomorrow morning. Maybe it's just me and I had a bad day. |
Yeah, ran with no issues. |
I'm still running into the same error. To be clear, you forked my "tdc-jekyll" repo, deployed it with Netlify, and were able to login to the Admin section and use the CMS without issues? It's driving me nuts but I'll keep trying stuff until I figure it out. I'll close this issue in a few hours if I still can't find the problem (or if I find my problem) Cheers |
I'm convinced the errors have something to do with the 404 network errors. Would there be any reason that links at http://domain.netlify.com/.netlify/git/github wouldn't be found? Maybe it's my Netlify settings... It's got to be specific to me, which makes this even more frustrating :) But it's probably not an issue with Netlify CMS. Thanks anyway for your help. I'll close this issue and figure it out on my own. |
Ah! We need better error messaging for that somehow. |
At least now when I google the console error I had (Unrecognized front-matter format.), I get this thread as a result. Maybe it'll help the next person who forgets to enable the Git gateway :) |
It looks like |
There seems to be two states that |
Ah, good find on this one. |
Looks like the code issue is that we only throw on 404 errors if the response is JSON. 🤷♂️ |
BUG REPORT INFORMATION
- Do you want to request a feature or report a bug?
Report a bug.
- What is the current behavior?
Nothing works. Maybe I'm just tired but I can't get Netlify to work and keep running into these 2 errors.
- If the current behavior is a bug, please provide the steps to reproduce.
- What is the expected behavior?
I keep running into strange error console messages and 404 network errors. I can't post new pages, and I can't upload images. Basically, nothing works and I don't understand the errors the console has thrown at me.
Thinking I must have done a mistake setting up Netlify CMS, I cloned one of my previous projects (which is also using Netlify CMS, and everything is working fine) and deployed it using Netlify, with a temporary URL.
When I log in to this new, freshly cloned website, I get the same errors.. even though the code is identical as my currently working project.
I'm stumped, since the code and configuration are identical. Yet, on any freshly deployed Netlify websites, the Netlify CMS isn't working for me, at all.
I'm going to try adding a custom domain to these new instances, since that is the only difference I can think of between the new projects and the old, working one.
Please take a look at the included screenshots for the error messages.
INFO:
Netlify CMS version 1.5.0
Client-side Node: v8.11.0
Netlify-side Node: node v8.11.1 (npm v5.6.0)
OS: Fedora 26 (x86-64)
- Please link or paste your
config.yml
below if applicable.(I don't think this is an issue with the config.yml, but here it is just in case I made an obvious mistake?)
The text was updated successfully, but these errors were encountered: