Git Product home page Git Product logo

Comments (3)

EmaSuriano avatar EmaSuriano commented on May 18, 2024 5

Hello @Patrickcpoole, thanks for raising this issue! So I did a little bit of investigation of what's going on and found out that the problem resides inside gatsby-source-medium. It appears that Medium did some changes in the Authorization methods for their APIs and that's why the whole start process can't continue ... In this issue, people are talking about this problem --> gatsbyjs/gatsby#17335

The solution I propose until somebody fix the plugin is to disable the plugin inside gatsby-config.js, so then you can play inside the starter without the Writing section and when the issue is fixed then re-enable it again. In order to disable you just need to remove this line that it's pushing the plugin into the list of plugins --> https://github.com/EmaSuriano/gatsby-starter-mate/blob/master/gatsby-config.js#L43-L48

Also, you might need to comment the whole component of sections/Writing.js and remove the import line inside pages/index.js. This is because Writing uses StaticQuery which query the graphQL explorer in build time, and if the plugin gatsby-source-medium is not loaded then the application will throw a build time error.

I will follow closely the issue and when they release the feature then apply it to the starter. I really hope that now you can use the starter 😄

from gatsby-starter-mate.

EmaSuriano avatar EmaSuriano commented on May 18, 2024

Hello @Patrickcpoole again! So I was following this issue quite closely during these days until now no one provides any real solution. Actually I checked the API of medium and the one that is throwing the error is the one that retrieves all the posts from the user.

I just provide a "patch" which fix this problem of the building but you won't be able to retrieve all the posts that you wrote in Medium.

Here is the Pull Request for the starter, it has been merged and deployed. And it worked without the need to remove/comment files inside the starter.

I will still keep an eye on the issue in gatsby to see if they can find a final solution for it and then remove this patch from the starter.

Please let me know if this has solved your problem 😄

from gatsby-starter-mate.

EmaSuriano avatar EmaSuriano commented on May 18, 2024

Closing this issue due to inactivity.

from gatsby-starter-mate.

Related Issues (20)

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.