Replies: 1 comment
-
Looks like you're running development mode when deploying, which is probably not what you want to do. Try using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
I'm currently working on my app build with Kubernetes with a few services. One of them is the client side service build with next.js. When I'm on my local dev everything is working fine (see the screenshot). Unfortunately after deploying to my Digital Ocean cluster my app is throwing an error: "Module not found: Can't resolve '../components/Header' in '/app/pages'"
I'm not that experienced with next.js so I'm assuming that this may be some really silly fault on my side, but maybe not. That's why I decided to ask it here....
Describe the bug
A clear and concise description of what the bug is.
(as above)
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
Before I did some changes to the styling part of my app, everything was working fine.
(I had some very basic bootrstrap styling classes applied to a few components)
Screenshots
This is my local log from my terminal :

This one comes from my Digital Ocean client pod log:

System information
Additional context
Add any other context about the problem here.
Beta Was this translation helpful? Give feedback.
All reactions