gatsby build fails as gatsby command not installed
I'm trying to deploy a new gatsby project and the build are failing as the gatsby command is not found. I have the project settings set to a gatsby project as the docs mentions.
2 Replies
the docs mention:
you should see cloudflare pages installing gatsby, your project dependencies, and building your site
yet the build log doesn't seem to install gatsby.
ok, I got a solution from the community website. Looks like the Cloudlfare docs and default build settings for Gatsby are out of date. gatsby build
does not work with the v2 build system. You need to use npm run build
. Hopefully someone from Cloudflare will see this and update the docs/system accordingly
also, does anyone know how to get support from Cloudflare for Pages. I'm on the paid plan ($5+usage) but the site still says I need a 'paid plan'. Is there another plan that allows contacting customer support. thanksHey, thanks for raising this, I’ve passed this internally to the team