Comments (6)
You need to add to the .env.development the contentful space id and access token
from gatsby-starter-landing-page.
from gatsby-starter-landing-page.
@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.
@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.
@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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-starter-landing-page.