Git Product home page Git Product logo

Comments (6)

KyleAMathews avatar KyleAMathews commented on May 29, 2024

You need to add to the .env.development the contentful space id and access token

from gatsby-starter-landing-page.

mbrydak avatar mbrydak commented on May 29, 2024

from gatsby-starter-landing-page.

aghreed avatar aghreed commented on May 29, 2024

@mbrydak you are correct, the expected behavior for running gatsby-provision in a local context is for an environment variable file to be created on your behalf from the values provided when prompted by the script.

Thanks for bringing to our attention. I'll look into the issue but you can unblock yourself in the meantime by doing what Kyle suggested and manually adding those values to your .env.development file.

from gatsby-starter-landing-page.

aghreed avatar aghreed commented on May 29, 2024

@mbrydak finally got around to this, and it looks like there was a pathing issue with where the .env.* files are created. Would you be able to confirm that those files were created a directory "up" from your project?

from gatsby-starter-landing-page.

augustweinbren avatar augustweinbren commented on May 29, 2024

@aghreed I had this same issue, and ended up needing to resolve it with the following command:
cp node_modules/.env.development ./.env.development
Leaving here for future users.

from gatsby-starter-landing-page.

aghreed avatar aghreed commented on May 29, 2024

Thanks for everyone's patience!

I've gone ahead and addressed this issue and issued PRs for all the repos that consume gatsby-provision-contentful — not just this one.

I'll be closing out the issue once #48 is merged.

from gatsby-starter-landing-page.

Related Issues (4)

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.