decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.97k stars 3.05k forks source link

CMS Preview - Error message #2511

Closed maxerdenberger closed 4 years ago

maxerdenberger commented 5 years ago

Describe the bug When viewing a current or new post in the edit mode. the right hand side preview doesn't appear. Type error: cannot read property 'fluid' of underfined.

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

CMS configuration

Additional context

maxerdenberger commented 5 years ago
Screenshot 2019-07-30 17 36 06
chrfritsch commented 5 years ago

I had the same issue. Now I am using https://github.com/netlify-templates/gatsby-starter-netlify-cms/blob/master/src/components/PreviewCompatibleImage.js for displaying images and that works fine.

erquhart commented 5 years ago

Gotta fill out the issue template buddy. I will say that the term "fluid" isn't in the Netlify CMS codebase, so this is an issue with your custom preview template, I'd recommend focusing your debugging there.

maxerdenberger commented 5 years ago

ok buddy

On Wed, Aug 28, 2019 at 2:37 PM Shawn Erquhart notifications@github.com wrote:

Gotta fill out the issue template buddy. I will say that the term "fluid" isn't in the Netlify CMS codebase, so this is an issue with your custom preview template, I'd recommend focusing your debugging there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/netlify/netlify-cms/issues/2511?email_source=notifications&email_token=AMI35KSNP3FMLCEG5SJCC2LQG3VYVA5CNFSM4IIBOBP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5MRQUY#issuecomment-525932627, or mute the thread https://github.com/notifications/unsubscribe-auth/AMI35KSTUF74R4Y2EDEOQMDQG3VYVANCNFSM4IIBOBPQ .

erquhart commented 5 years ago

Hey @maxerdenberger - running back through my notifications and reread this, apologies for the harsh response. Noticed you joined GitHub just to open this issue and probably had no clue the template needed to be filled out.

Some other folks are having this same issue, it seems to be due to a faulty preview component in a Gatsby starter somewhere. Can you link to the starter you used? Would like to address it that source if we can.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

erezrokah commented 4 years ago

Closing as stale