So I deployed my nextjs storefront on my ubuntu private server but the problem when i run npm run build that it gives me
Error: Failed to collect page data for /404
at /home/stackops/nextjs-starter-medusa/node_modules/next/dist/build/utils.js:916:15
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
type: 'Error'
}```
i think that because of not giving backend URL but i dont now where to config related env variables