gatsby: The "gatsby develop" command throws the "There are no available GQL nodes" error

Description

The “gatsby develop” command throws the “There are no available GQL nodes” error

Steps to reproduce

Just follow steps from the Getting Started guide.

npm install --global gatsby-cli gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-default cd gatsby-site gatsby develop

Expected result

Should work.

Actual result

Throws the error.

Environment

System: OS: Linux 4.13 Ubuntu 17.10 (Artful Aardvark) CPU: x64 Intel® Core™ i5-2400 CPU @ 3.10GHz Shell: 4.4.12 - /bin/bash Binaries: Node: 10.6.0 - /usr/bin/node Yarn: 1.9.4 - /usr/bin/yarn npm: 6.1.0 - /usr/bin/npm Browsers: Chrome: 69.0.3497.92 Firefox: 61.0.1 npmPackages: gatsby: ^2.0.0 => 2.0.4 npmGlobalPackages: gatsby-cli: 2.4.1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 21 (9 by maintainers)

Most upvoted comments

@SAGGameDeveloper if that’s the case, then @Manoz for instance which has the content inside a folder with the following way ``dd-mm-yyy` also doesn’t work for him, but for me it does, on either case, i.e: linux on wsl and win 10. Also if that’s the case, the library not allowing special characters of combinations of characters, then the plugin should throw the appropriate message in the error not a generic one.

Same issue…

> gatsby develop

Something is already running at port 8000 
Would you like to run the app at another port instead? [Y/n] y
success open and validate gatsby-config — 0.005 s
success load plugins — 0.188 s
success onPreInit — 0.010 s
success delete html and css files from previous builds — 0.006 s
success initialize cache — 0.006 s
success copy gatsby files — 0.008 s
success onPreBootstrap — 0.000 s
warning The internal-data-bridge plugin has generated no Gatsby nodes. Do you need it?
warning The gatsby-source-filesystem plugin has generated no Gatsby nodes. Do you need it?
success source and transform nodes — 0.001 s
error There are no available GQL nodes


  Error: Invariant Violation: There are no available GQL nodes

Hey again!

It’s been 30 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 reopen this issue or create a new one if you need anything else.

Thanks again for being part of the Gatsby community!