Production Build Not Displaying in Browser #554
Unanswered
peniswafflexd
asked this question in
Q&A
Replies: 2 comments 22 replies
-
Hey @peniswafflexd — Few questions for you:
There is nothing wrong with your Payload config, or your server, from what I can see. It's probably related to your Let me know! |
Beta Was this translation helpful? Give feedback.
18 replies
-
Hi @peniswafflexd, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I've basically got payload set up the way I would like now. However, after trying to make a production build:
yarn build
||npm run build
and then serving said build:
serve -s build -l 3000
Nothing will display in the browser, it seems as though there is nothing there at all, none of the css or js files are showing when I try navigate to the, although I'm not getting a 404 or other error status code. There is just a blank page.
I am serving the build package to the same port and address, so it shouldn't be an issue with any of the hardcoded environment variables.
I can't figure out for the life of me what the cause is, here is my build config and server.js files:
** config **
** server.js **
Beta Was this translation helpful? Give feedback.
All reactions