Giter Club home page Giter Club logo

Comments (4)

Jonesus avatar Jonesus commented on July 26, 2024

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.

westhouseit avatar westhouseit commented on July 26, 2024

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.

westhouseit avatar westhouseit commented on July 26, 2024

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.

Jonesus avatar Jonesus commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.