question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I can no longer run "gatsby develop"

See original GitHub issue

I am using contentful and gatsby and yesterday i tried to add some adjustment to my project and i figured out it doesn’t work as it is suppose to work. it gives me the following error:

success open and validate gatsby-configs - 0.046s success load plugins - 2.138s success onPreInit - 0.040s success initialize cache - 0.016s success copy gatsby files - 0.147s success onPreBootstrap - 0.028s success createSchemaCustomization - 0.068s

ERROR

Accessing your Contentful space failed. Try setting GATSBY_CONTENTFUL_OFFLINE=true to see if we can serve from cache.

Used options: spaceId: “*********1o5” accessToken: “***************************************6xaI” host: “preview.contentful.com” environment (default value): “master” downloadLocal (default value): false localeFilter (default value): [Function] forceFullSync (default value): false pageLimit (default value): 100 useNameForId (default value): true

not finished source and transform nodes - 1.275s not finished Contentful: Fetch data (gldthkygs1o5-master) - 1.083s

What I tried to do :

  1. I tried to update the whole package.json
  2. I tried to delete the cache and re-build.
  3. I tried to use another environmet on contentful and I made sure that the maste checkbox is checked.
  4. I deleted the usual API key from contentful and created a new one.

none of the above worked for me 😢

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
wardpeetcommented, Oct 16, 2020

could you share the gatsby-source-contentful version?

Could you also try running gatsby with GATSBY_EXPERIMENTAL_PLUGIN_OPTION_VALIDATION=1

GATSBY_EXPERIMENTAL_PLUGIN_OPTION_VALIDATION=1 gatsby develop

if you’re on windows please use

npx cross-env GATSBY_EXPERIMENTAL_PLUGIN_OPTION_VALIDATION=1 gatsby develop
0reactions
github-actions[bot]commented, Dec 20, 2020

Hey again!

It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot, so if I’ve closed this issue in error, I’m HUMAN_EMOTION_SORRY. Please feel free to comment on this issue or create a new one if you need anything else. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks again for being part of the Gatsby community! 💪💜

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can no longer run gatsby develop · Issue #27458 - GitHub
I can no longer run gatsby develop after updating the CLI. Steps to reproduce. run gatsby develop. Expected result. Should run develop fine ......
Read more >
Troubleshooting Common Errors - Gatsby
This will delete the .cache folder, as well as the public folder for you. Running gatsby develop will recreate the cache and process...
Read more >
Cannot run gatsby develop - There was a problem loading the ...
There was a problem loading the local develop command. Gatsby may not be installed in your site's "node_modules" directory. Perhaps you need to ......
Read more >
gatsby-cli - npm
Gatsby command-line interface for creating new sites and running Gatsby commands. Latest version: 5.2.0, last published: 14 days ago.
Read more >
Gatsby Develop Command Doesn't work in VSCode Terminal?
Hello, I have bought a new computer and I have a minor problem. Gatsby's develop command is working on CMD. But on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found