I've forked this repository and then proceeded to build and deploy it as suggested but I cannot start correctly the web site.
The passes I've followed are:
- git cloned the repo
- Moved in the folder and executed without any problem:
npm install -g yarn - Executed:
yarn - Executed:
npm install -g gatsby-cli - Executed:
npm install - Executed:
gatsby build - Executed:
npm run deploywhere deploy is defined as:gatsby build && gh-pages -d public -b gh-pages
These commands correctly build the project and create a new branch on the repository with the public folder which is the build foledr.
My repository is configured to use GitHub pages like this:
but whenever I open the web site I can only see background color and opening console I see a few errors reaching resources:
Failed to load resource: the server responded with a status of 404 ()
webpack-runtime-b79041fc2b38a6c91c6b.js:1
Failed to load resource: the server responded with a status of 404 ()
app-8f8fb0f08c61a13c61ac.js:1
[...]
I can correctly make changes to the repository and start it locally with gatsby serve. The only problem I have is with deployment, can someone figure out what's my problem with the info I provided?
