Giter VIP home page Giter VIP logo

Comments (8)

styxlab avatar styxlab commented on June 11, 2024

This project should build, if you disable the gatsby-plugin-ghost-images plugin. To disable:

  • remove the plugin from gatsby-config.js
  • make sure the plugin is removed from node modules: yarn remove gatsby-plugin-ghost-images

If you still get errors, please provide a link to the logs.

from gatsby-theme-try-ghost.

savyajha avatar savyajha commented on June 11, 2024

I'm still getting an error. Just to clarify what I did:

  • Used the starter project, added my own Ghost API key and all that
  • cd <project-directory>
  • yarn
  • cd node_modules/gatsby-theme-try-ghost
  • yarn remove gatsby-plugin-ghost-images
  • Set disable: true in the theme's gatsby-config.js
  • cd ../..
  • gatsby develop

And it still doesn't work. Here are the logs: http://ix.io/2nLE

from gatsby-theme-try-ghost.

styxlab avatar styxlab commented on June 11, 2024

@savyajha: Sorry was on the wrong page. Unfortunately the plugin is currently too tightly coupled to the core and removing it doesn't work. I once started implementing a disable option, but this is not yet finished.

This option will be implemented, but is currently not prioritized so it may take a long time until finished. If you want to dig into the problem (you'll have to write custom GraphQL resolvers) and fix it, I'm always happy to take PRs!

from gatsby-theme-try-ghost.

savyajha avatar savyajha commented on June 11, 2024

Given I'm hardly a developer (I'm merely a tinkerer) and I've never worked with web tech before, I'm going to think long and hard about your offer to write PRs and then (probably) not do much. But thank you very much for your answer. I enjoy using this theme and definitely look forward to its continued development.

I'll close this issue then, if you don't mind.

from gatsby-theme-try-ghost.

styxlab avatar styxlab commented on June 11, 2024

As I was already at it, I will implement an option to disable gatsby images soon.

from gatsby-theme-try-ghost.

styxlab avatar styxlab commented on June 11, 2024

There is now a new option in siteConfig.js called gatsbyImages. Default is true. Set it to false, if you want to disable gatsby images.

from gatsby-theme-try-ghost.

savyajha avatar savyajha commented on June 11, 2024

Thank you. I've tried it out, and it works. Thank you.

from gatsby-theme-try-ghost.

styxlab avatar styxlab commented on June 11, 2024

You are very welcome.

from gatsby-theme-try-ghost.

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.