Giter VIP home page Giter VIP logo

Comments (9)

njosefbeck avatar njosefbeck commented on June 3, 2024 1

Let me take a look!

from gatsby-source-stripe.

njosefbeck avatar njosefbeck commented on June 3, 2024

This is fixed! Apparently it's required to have an index.js file in the root of the plugin, even if it's empty. I've tested locally, but if you wouldn't mind updating to the new version (2.2.1) of the plugin and re-testing, it'd be much appreciated @brxck! Thanks!

from gatsby-source-stripe.

brxck avatar brxck commented on June 3, 2024

Okay that cleared it up!

Running into another error:

Error: Cannot find module './StripeObject'

Looks like a capitalization issue, the file's now named stripeObject.js. I looked back and I guess the old build process used to capitalize the file?

EDIT: Okay, just pushed the smallest commit to fix this as well. With that change, everything is working 🎉

from gatsby-source-stripe.

njosefbeck avatar njosefbeck commented on June 3, 2024

Hmm, so I didn't run into that error myself. The file used to be capitalized but it isn't anymore. Have you tried deleting your node_modules and package-lock.json and doing a fresh npm install? Once you do that, if you look at gatsby-source-stripe in node_modules, is your file structure the same as below?

Screen Shot 2019-04-13 at 1 05 35 PM

from gatsby-source-stripe.

njosefbeck avatar njosefbeck commented on June 3, 2024

Oh just saw your edit! Was it that way in the latest version you get from NPM? Or in a local version you have in a plugins dir?

from gatsby-source-stripe.

brxck avatar brxck commented on June 3, 2024

Yeah it was that way in the latest, even with a fresh install 🤔

from gatsby-source-stripe.

njosefbeck avatar njosefbeck commented on June 3, 2024

Oh yeah, that's a bug then! I'll pull down your change and publish that to NPM then! Thanks!

from gatsby-source-stripe.

njosefbeck avatar njosefbeck commented on June 3, 2024

OK pushed up and published 2.2.2. Let me know if you encounter any further errors!

from gatsby-source-stripe.

brxck avatar brxck commented on June 3, 2024

New version is working great, thanks!

from gatsby-source-stripe.

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.