Forked FCCs repository but getting 404 link couldn't found error

Describe your problem and how to reproduce it:
I followed the documentation and download all the necessary softwares to run it locally but when “npm run develop”
It shows me a blank page with 404 page couldnot be found with the following errors

  • Note that the development build is not optimized.
  1. To create a production build, use gatsby build
  2. Success Building development bundle - 164.624s
  3. Error loading a result for the page query in “/dev-404-page”. Query was not run and no cached result was found.
  4. Error loading a result for the page query in “/”. Query was not run and no cached result was found.
  5. Error loading a result for the page query in “/404.html”. Query was not run and no cached result was found.

Am I missing something ? thank for you time…

Hello there,

Would you mind sharing more of the output of npm run develop. Also, any errors from npm ci?

npm ci

npm WARN prepare removing existing node_modules/ before installation

> fsevents@1.2.13 install C:\freecodecamp\freeCodeCamp\node_modules\fsevents
> node install.js


Skipping 'fsevents' build as platform win32 is not supported

> husky@3.1.0 install C:\freecodecamp\freeCodeCamp\node_modules\husky
> node husky install

husky > Setting up git hooks
husky > Done

> husky@3.1.0 postinstall C:\freecodecamp\freeCodeCamp\node_modules\husky
> opencollective-postinstall || exit 0

Thank you for using husky!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/husky/donate


> core-js-pure@3.6.5 postinstall C:\freecodecamp\freeCodeCamp\node_modules\core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> docsify@4.11.6 postinstall C:\freecodecamp\freeCodeCamp\node_modules\docsify
> opencollective-postinstall

Thank you for using docsify!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/docsify/donate


> cypress@5.3.0 postinstall C:\freecodecamp\freeCodeCamp\node_modules\cypress
> node index.js --exec install

Note: Skipping binary installation: Environment variable CYPRESS_INSTALL_BINARY = 0.


> @freecodecamp/freecodecamp@0.0.1 postinstall C:\freecodecamp\freeCodeCamp
> npm run bootstrap


> @freecodecamp/freecodecamp@0.0.1 bootstrap C:\freecodecamp\freeCodeCamp
> lerna bootstrap --ci

lerna notice cli v3.22.1
lerna info versioning independent
lerna info ci enabled
lerna info Bootstrapping 11 packages
lerna info Symlinking packages and binaries
lerna success Bootstrapped 11 packages
added 1706 packages in 133.628s

This is after npm run develop and opened up a localhost page

Error loading a result for the page query in "/dev-404-page". Query was not run and no cached result was found.
Error loading a result for the page query in "/". Query was not run and no cached result was found.
Error loading a result for the page query in "/404.html". Query was not run and no cached result was found.

Are you sure you are doing these steps after npm ci:

  • mongod
  • npm run seed

Only then can you develop the client and server

I couldn’t run the mongodb locally. I needed to create data/db directories under C:/
Now I can run thanks for your time