Chronoblog / gatsby-theme-chronoblog

⏳ Chronoblog is a Gatsbyjs theme specifically designed to create a personal website. The main idea of ​​Chronoblog is to allow you not only to write a personal blog but also to keep a record of everything important that you have done.
https://chronoblog.now.sh
MIT License
129 stars 26 forks source link

The demo stopped working #59

Open zolbayars opened 4 years ago

zolbayars commented 4 years ago

First of all, thanks for creating such a useful plugin! πŸ˜ƒ

I've been using gatsby-starter-chronoblog-disqus for my personal blog. A few days ago, I deployed a new post and everything went away (all the feeds, etc): image

I thought it was somehow related to how I made that deploy. But it's just like the above when I run https://github.com/Chronoblog/gatsby-starter-chronoblog-disqus with gatsby develop. There are a bunch of warnings (such as site-header.mdx:9 Component MenuMain was not imported, exported, or provided by MDXProvider as global scope) on browser console:

image

Is there any quick-fix that makes it work?

ganevdev commented 4 years ago

hmm, maybe the point is that when updating one of the packages, it changed its API. This has already happened, and I plan to lock package versions. But I just can't find the time for this πŸ˜“.

There is a chance that this error will not occur if you use yarn.

zolbayars commented 4 years ago

Thanks @Ganevru I'll try with yarn and if that doesn't work, gonna try to find out a way to resolve this πŸ‘

mliakos commented 4 years ago

Same problem here using both original repo and starter.

zolbayars commented 4 years ago

@mliakos Using yarn instead of npm fixed the issue.

mliakos commented 4 years ago

@zolbayars Well, that didn't work for me. I will try again anew though 😊

Update: Indeed it worked with yarn install