I’m trying to get Gatsby going on my production server. Had no issues till the point I tried to build with Netlify.
The log says:
error GraphQL Error Unknown type “GhostPage”. Did you mean “GhostTag”, “GhostPost”, “GhostTagEdge”, or “GhostPostEdge”?
file: /opt/build/repo/src/utils/fragments.js
It’s a bit of a hack, so it may have stopped working - I know Gatsby are working on a more official method.
Do you definitely have a page in your source Ghost site?
What version of Gatsby are you using?
When did you clone the starter?
Did you make any significant changes?
To answer your questions:
2. I just followed the installation mentioned in the readme file. I’m not sure which version of Gatsby I am on. Any cmd to check that?
3. I cloned the starter yesterday.
4. I’ve made quite a few changes to ghost in the sense that I updated the routes, so I can have a custom html file as my landing page and ghost’s other content as a collection. But didn’t make any changes to the gatsby other than adding a 301 redirect on the _redirects file