panr / gatsby-starter-hello-friend

Pretty basic starter for Gatsby that covers all of the essentials. All you have to do is start typing!
MIT License
165 stars 71 forks source link

GraphQL Error: Unknown argument 'formatString' #15

Closed jmsv closed 4 years ago

jmsv commented 4 years ago

Hi, this starter looks really nice! Unfortunately I'm running into this error when I try to get it running. I've tried:

gatsby new gatsby-starter-hello-friend https://github.com/panr/gatsby-starter-hello-friend
cd gatsby-starter-hello-friend
npm run dev

but I get the following GraphQL error from src/templates/tags.js:

Unknown argument 'formatString'


Screenshot

error screenshot

BoltzmannBrain commented 4 years ago

Also running into this. It did not work to edit the three date(formatString: "YYYY-MM-DD") entries and make sure the dates in all markdown files match.

Please help @panr, thanks!

panr commented 4 years ago

Shiet... I'll get back to you soon with answers 🙏

panr commented 4 years ago

Hmm... Strange... I executed the same code @jmsv you mentioned and everything works on my machine 🤔 I use yarn and node 11.10.1... Did I miss something here?

Also... Does npm install / yarn install help?

BoltzmannBrain commented 4 years ago

Sorry for the delay but I tracked this down to incompatible node version: v12+ results in this failure. Dialing back node to v10.17.0 works for me!

panr commented 4 years ago

Huh, that's interesting. I also have v12+ 🤔

rendiwijiatmoko commented 4 years ago

Im stil stack with this problem

ghost commented 4 years ago

same problem with nodejs v11.15.0 and npm 6.7.0. thanks.

windhausen commented 4 years ago

same problem with nodejs v12.9.0 and npm 6.13.1 starter looks great. thanks for the help

panr commented 4 years ago

😟

What Gatsby version do you have? Maybe that will help to debug this...

ghost commented 4 years ago

Gatsby 2.8.18. thanks.

windhausen commented 4 years ago

I have Gatsby 2.15.1 Thank you

Am 15.12.2019 um 18:37 schrieb Radek Kozieł notifications@github.com:

😟

What Gatsby version do you have? Maybe that will help debug this...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/panr/gatsby-starter-hello-friend/issues/15?email_source=notifications&email_token=ANWNROE2NDZXSOCCLUDQ5CLQYZTOHA5CNFSM4JFEZD3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG46CPQ#issuecomment-565829950, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANWNRODY53HFGP6ISAYUSDLQYZTOHANCNFSM4JFEZD3A.

TBooty commented 4 years ago

Following this PR resolved the issue for me: https://github.com/panr/gatsby-starter-hello-friend/pull/10

panr commented 4 years ago

Damn it, I totally forgot about this PR... OK, today after work I'll check everything again and if it really fixes the issue, I'll merge it and gonna let you know...

Sorry for that, my time is very limited at the end of the year 😢

panr commented 4 years ago

Sooner that I thought — PR fixing those errors has been merged. I hope it fixes the problem 😬

Let me know!

windhausen commented 4 years ago

It worked thank you!!!

panr commented 4 years ago

It's thanks to @fwojciec and @TBooty 🙌

Thank you guys! 🎉