mathieudutour / gatsby-digital-garden

🌷 🌻 🌺 Create a digital garden with Gatsby
https://mathieudutour.github.io/gatsby-digital-garden
MIT License
665 stars 103 forks source link

'gatsby develop' leads to compilation fail #135

Closed adrien-perello closed 3 years ago

adrien-perello commented 3 years ago

Problem

problem with graphql after gatsby develop (probably related to #134)

I get this Screenshot from 2021-07-08 17-50-43

and http://localhost:8000/ gives this Screenshot from 2021-07-08 17-53-07

Does it also have to do with dependencies? Or is the problem coming from my machine?

mathieudutour commented 3 years ago

what version are you using?

adrien-perello commented 3 years ago

node: 14.17.1 npm: 6.14.13 gatsby-cli: 3.9.0

mathieudutour commented 3 years ago

I mean which version of gatsby-digital-garden? But I'm not sure it is compatible with Gatsby version 3

adrien-perello commented 3 years ago

in package.json I see:

"dependencies": {
    "gatsby": "^2.21.37",
    "gatsby-theme-garden": "^0.1.1",

But to be honest, I simply did

gatsby new my-digital-garden https://github.com/mathieudutour/gatsby-starter-digital-garden

Do i have to downgrade gatsby-cli to version 2?

adrien-perello commented 3 years ago

This is now working. I uninstall, reinstall, try several times. And what seems to work is to do a 'dummy' git commit before gatsby develop