You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
I followed this tutorial:
After starting directus, I tried to run gatsby and then it throws this GraphQL error:
There was an error in your GraphQL query:
Cannot query field "directus" on type "Query".
If you don't expect "directus" to exist on the type "Query" it is most likely a typo. However, if you expect
"directus" to exist there are a couple of solutions to common problems:
If you added a new data source and/or changed something inside gatsby-node/gatsby-config, please try a restart of
your development server.
You want to optionally use your field "directus" and right now it is not used anywhere.
It is recommended to explicitly type your GraphQL schema if you want to use optional fields.
File: src\pages\index.jsx:41:5
The text was updated successfully, but these errors were encountered:
I followed this tutorial:
After starting directus, I tried to run gatsby and then it throws this GraphQL error:
There was an error in your GraphQL query:
Cannot query field "directus" on type "Query".
If you don't expect "directus" to exist on the type "Query" it is most likely a typo. However, if you expect
"directus" to exist there are a couple of solutions to common problems:
your development server.
It is recommended to explicitly type your GraphQL schema if you want to use optional fields.
File: src\pages\index.jsx:41:5
The text was updated successfully, but these errors were encountered: