-
Notifications
You must be signed in to change notification settings - Fork 0
Known Errors
kkaufmes30 edited this page Jun 19, 2022
·
4 revisions
- Template for new Errors
Description:
Reason:
Potential Fixes:
Status:
- Building the frontend fails, if backend is not running
Description:
Building the Frontend using npm run build
will fail unless the Backend is currently running.
Reason:
Some API calls happen during the build time, which causes the build to fail. These calls most likely happen in Methods getStaticProps
or getStaticPaths
. The methods get called in multiple Components and are in part dependent on other Methods
Potential Fixes:
StackOverflow: https://stackoverflow.com/questions/66202840/fetch-error-when-building-next-js-static-website-in-production
Status: fixed