Error Persisting State
Closed this issue · 5 comments
tnorlund commented
So I'm getting this error while developing and building Gatsby.
warning Error persisting state: function plugin({
beginMarker,
endMarker,
pattyName = 'patty',
onlyRunWithMarker = false,
insertBef...<omitted>...
} could not be cloned.
This comes from the remark-burger dependency. Is there a way to remove this warning?
aeneasr commented
Just wanted to drop in that we also observe this issue!
tnorlund commented
Alright cool. Can I help out with anything?
aeneasr commented
I think the problem is related to the gatsby mdx transformer!
JasonWang258 commented
I removed the error message by adding the following to gatsby-plugin-mdx setting:
remarkPlugins: [ require('remark-burger') ],
tnorlund commented
@JasonWang258 This worked.