Skip to content
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 Persisting State #95

Closed
tnorlund opened this issue Nov 20, 2020 · 5 comments
Closed

Error Persisting State #95

tnorlund opened this issue Nov 20, 2020 · 5 comments

Comments

@tnorlund
Copy link

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
Copy link

aeneasr commented Nov 24, 2020

Just wanted to drop in that we also observe this issue!

@tnorlund
Copy link
Author

Alright cool. Can I help out with anything?

@aeneasr
Copy link

aeneasr commented Nov 25, 2020

I think the problem is related to the gatsby mdx transformer!

@JasonWang258
Copy link

I removed the error message by adding the following to gatsby-plugin-mdx setting:
remarkPlugins: [ require('remark-burger') ],

@tnorlund
Copy link
Author

@JasonWang258 This worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants