GithubHelp home page GithubHelp logo

dylanon / gatsby-source-etsy Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 8.0 952 KB

Gatsby.js plugin that sources listing info and images from your Etsy shop! 🛍

License: MIT License

JavaScript 100.00%
etsy gatsby gatsby-source gatsby-source-plugin gatsbyjs

gatsby-source-etsy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gatsby-source-etsy's Issues

Fails to generate nodes

Forgive me if this is user error. I recently installed the gatsby-source-etsy plugin to use on a client's website:

npm install --save gatsby-source-etsy

In my gatsby-config file I entered in the appropriate API and Shop ID following the plugin's guide (https://www.gatsbyjs.org/packages/gatsby-source-etsy/).

Despite seemingly following all of the correct steps, when I run develop I get the following error message:

warn The gatsby-source-etsy plugin has generated no Gatsby nodes. Do you need it?

As expected, I cannot source any of the data the plugin provides access to in GraphQL. Why is it not generating nodes? Some troubleshooting online led me to believe that it had something to do with the order of the plugins in my package-lock.json file (e.g. make sure that gatsby-source-filesystem--a plugin required by gatsby-source-etsy--comes before gatsby-source-etsy in my plug-in list). However, this doesn't seem to provide any solution.

Any thoughts? Thanks in advance for your input.

Updating Etsy Inventory Data from Gatsby

I'm curious if there's any methods in the plugin to send, say, PUT requests to the Etsy API if a product is bought on a Gatsby site. This might be a dumb question (I read Etsy's terms of service and couldn't tell if selling on a personal site with Etsy listings was not allowed).

Read the paragraph in the Gatsby docs several times and am still wondering how people imagine this working:

Building your own site with Gatsby allows you to have the best of both worlds. You can take control over your customers’ experience and drive traffic to your own blazing fast website. You’re also able to avoid links to others’ listings competing for your customers’ attention. At the same time, you maintain all the benefits of having your products listed on Etsy.

Would the idea be to send traffic from etsy.com to a Gatsby-source-etsy'd site, then back to etsy.com for a checkout? Or could you feasibly build an independent ecommerce store on a Gatsby site with Etsy store data and sync the two of them with this plugin?

Thanks!

Gatsby build fails when using cached etsy items

Hey Dylan, first of all: thanks for providing this plugin, super helpful!

I ran into a bug recently when setting up a new site.

Whenever I re-run gatsby develop and gatsby is using cached data, I get the following error:

image

When I run gatsby clean and than start my development server, everything works. Same goes for my deployment on netlify I always have to clear the cache otherwise the build fails:

image

Any thoughts on what could be the issue here? Would love to solve this!
Greetings Marco

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.