Closed akzhy closed 4 years ago
Feel free to share any recommendations you have @ahmad-reza619,
Feel free to share any recommendations you have @ahmad-reza619,
will do, i'm glad to help. 😄
how about we add some test too? so that it will guarantee our template stay safe and sound 😃
hey @akzhy i've added some optimization. anyway, gatsby complains about disqus option that is not present in gatsby-config.js
file. could we add some initial values for it?
Hey @ahmad-reza619 is it a warning? If so where does it appear? There are no errors/warnings on my device
it's an error unfortunately, it looks like this
and why did you use yarn, when you used npm before? there is 2 lock file now, and from my experience this could cause issues
Can you try clearing the cache ? gatsby clean
.
For the lockfile part, I switched to yarn a couple of months ago 😅, forgot I used npm for this one.
@ahmad-reza619
so, which one are we going to use?
Yarn is pretty good
Did clearing the cache work ? @ahmad-reza619
nope, i was using node 8.6 so i tried to switch to node 13, but errors still happen, so now i tried with yarn
all right it works on yarn with node v13
Okay great we can proceed with yarn
i've removed npm lock file so we should be good for now. and maybe we'll mention to use node v13 in readme perhaps?
and let's not forget to mention about disqus in readme
Yeah we will need to update the readme to inform about disqus
Okay, looks good to me
Optionally add disqus by providing the value in
siteMetadata