gatsby serve - Hint: "Did you mean this? serve" - confused🥴
See original GitHub issueSummary
I am cloning the repo, running npm install
and copying the public folder from a previous pipeline step.
If run gatsby serve
, it returns an exit code 1.
If I run gatsby build again, it works.
Relevant information
I am running gatsby serve in my CI/CD pipeline. The “error” that is coming back is very confusing.

Any ideas what the problem is?
Environment (if relevant)
gatsby info --clipboard
System: OS: Linux 4.19 Debian GNU/Linux 9 (stretch) 9 (stretch) CPU: (1) x64 Intel® Xeon® CPU @ 2.30GHz Shell: 4.4.12 - /bin/bash Binaries: Node: 10.16.0 - /usr/local/bin/node Yarn: 1.16.0 - /usr/local/bin/yarn npm: 6.9.0 - /usr/local/bin/npm Languages: Python: 2.7.13 - /usr/bin/python npmPackages: gatsby: ^2.13.31 => 2.13.31 gatsby-image: ^2.2.6 => 2.2.6 gatsby-plugin-manifest: ^2.2.3 => 2.2.3 gatsby-plugin-offline: ^2.2.4 => 2.2.4 gatsby-plugin-react-helmet: ^3.1.2 => 3.1.2 gatsby-plugin-sharp: ^2.2.8 => 2.2.8 gatsby-source-filesystem: ^2.1.5 => 2.1.5 gatsby-transformer-sharp: ^2.2.4 => 2.2.4 npmGlobalPackages: gatsby-cli: 2.7.20
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
I just stopped by to say that 🥴 is a great emoji and we can imagine your sentiment 😂
Great, thanks for the quick fix @m-allanson