Comments (4)
Hi @kieranwt94 ! Do you think you could provide a bit more details on your problem, like a step-by-step reproduction, error messages and/or a database dump of the problematic configuration so that it's easier for me to reproduce the issue?
from gatsby-source-directus7.
Here's the logs I get:
GSD7: success Connected to Directus!
GSD7: success Logged in to Directus!
GSD7: info Fetching Directus file data...
error
GSD7: error gatsby-source-directus: Error while fetching files: undefined
See our docs page for more info on this error: https://gatsby.dev/issue-how-to
GSD7: success Found 0 files from Directus.
Any thoughts on enabling more detailed logging?
from gatsby-source-directus7.
Done some checking in the source - this error is from fetch.js line 188. Error is returned as undefined so either this.client.get
is failing. It looks likely to be something upstream that isn't returning a proper exception/error since this.client is DirectusSDK coming from '@directus/sdk-js'.
I'll cross-post this there: https://github.com/directus/sdk-js/issues/116
from gatsby-source-directus7.
Hi @westhouseit!
Sorry for the long silence, I've been quite busy with other stuff recently. As for the issue, a new official plugin has been created at https://github.com/directus/gatsby-source, and thus this project won't be maintained anymore. You should go try it out instead and see if it works out for you and if not, open a new issue in that repo :)
from gatsby-source-directus7.
Related Issues (15)
- How to use a slug field for the URL? HOT 2
- Cannot read property 'directus' of undefined HOT 9
- Get related translations HOT 13
- Rebuild if new data is added HOT 1
- Build fails on Heroku HOT 6
- Filter for articles with translations seems broke HOT 9
- Duplicate relations cause some fields to be null in GQL HOT 3
- authenticate via static token. HOT 2
- childImageSharp no longer working on images HOT 1
- many to many relations HOT 2
- Data not being passed by context HOT 2
- TypeError: Cannot read property 'id' of undefined HOT 13
- Relationships recursive in graphql HOT 1
- Bug mapping relations - TypeError: Cannot read property 'filter' of undefined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-source-directus7.