Reputation: 11
This is my website, it is not showing any of the styling but on my localhost it shows styling... any ideas? https://jaydenszekely.com/
All looks good to me but I must have missed something.
All my code is here :) https://github.com/deslabcreative/jaydenszekely
My CSS is imported in Layout.JS for anyone wondering :)
Nothing out of the ordinary in log that I notice :)
Please Help!
Upvotes: 0
Views: 72
Reputation: 14353
I took these steps and it fixed the build:
Removed:
.cache
node_modules
Fixed:
.cache
, node_modules
)PropTypes.file
with PropTypes.string
Since there is a yarn.lock
, Netlify will use yarn to install your dependencies, so no need for node_modules
. The .cache
is used by Gatsby, but will get created during the build, no need to commit it to the repository.
Upvotes: 1