Closed ateufel closed 6 years ago
Please make sure you're starting the server in production
mode and not development
, because the touch
module is only used in development, to be precise, here: https://github.com/zeit/next.js/blob/c204cdd91e62e91ecdb14cd6bc4588335ccf5a4e/server/on-demand-entry-handler.js#L5
that fixed it, thank you so much!
🙏
Expected Behavior
I am using Docker on Digital Ocean for a Next.js based project, the main page is pretty simple and should just show nothing more than a Facebook login button.
Current Behavior
If i try to access it via Browser, the first time it works well and the Login button shows up - if i refresh the page, i get the following error on my screen:
Error: Unknown system error -116: Unknown system error -116, stat '/usr/src/app/pages/overview.js'
Steps to Reproduce (for bugs)
The index page is very simple:
I installed Sentry and it showed the following additional error information, the "touch" package is used by Next.js:
Screenshot of the Error, including Dev Tools: My Dockerfile for Next.js:
Your Environment