akzhy / gatsby-starter-elemental

Gatsby starter for portfolio sites
https://elemental.netlify.app
MIT License
137 stars 57 forks source link

Comments #16

Closed akzhy closed 4 years ago

akzhy commented 4 years ago

Optionally add disqus by providing the value in siteMetadata

akzhy commented 4 years ago

Feel free to share any recommendations you have @ahmad-reza619,

ahmad-reza619 commented 4 years ago

Feel free to share any recommendations you have @ahmad-reza619,

will do, i'm glad to help. 😄

ahmad-reza619 commented 4 years ago

how about we add some test too? so that it will guarantee our template stay safe and sound 😃

ahmad-reza619 commented 4 years ago

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?

akzhy commented 4 years ago

Hey @ahmad-reza619 is it a warning? If so where does it appear? There are no errors/warnings on my device

ahmad-reza619 commented 4 years ago

Screen Shot 2020-03-15 at 21 51 20

it's an error unfortunately, it looks like this

ahmad-reza619 commented 4 years ago

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

akzhy commented 4 years ago

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

ahmad-reza619 commented 4 years ago

so, which one are we going to use?

akzhy commented 4 years ago

Yarn is pretty good

akzhy commented 4 years ago

Did clearing the cache work ? @ahmad-reza619

ahmad-reza619 commented 4 years ago

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

ahmad-reza619 commented 4 years ago

all right it works on yarn with node v13

akzhy commented 4 years ago

Okay great we can proceed with yarn

ahmad-reza619 commented 4 years ago

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?

ahmad-reza619 commented 4 years ago

and let's not forget to mention about disqus in readme

akzhy commented 4 years ago

Yeah we will need to update the readme to inform about disqus

akzhy commented 4 years ago

Okay, looks good to me