Erro com meu projeto que não consigo resolver

Estou tentando fazer deploy desse pojeto, mas dá esse erro, minha página 404 está not-found.tsx e estou usando Next JS 15, alguém aqui já passou por isso? Ou sabem como resolver?
[15:22:31.812] [Error: Failed to collect configuration for /_not-found] {
[15:22:31.813] [cause]: TypeError: Invalid URL
[15:22:31.813] at 4431 (.next/server/app/_not-found/page.js:1:2936)
[15:22:31.813] at Function.t (.next/server/webpack-runtime.js:1:128) {
[15:22:31.813] code: ‘ERR_INVALID_URL’,
[15:22:31.813] input: ‘undefined’

[15:22:31.815] > Build error occurred
[15:22:31.819] [Error: Failed to collect page data for /_not-found] { type: ‘Error’ }
[15:22:31.845] Error: Command “npm run build” exited with 1

There’s another community post with 404 debugging tips that might be helpful. Please give these solutions a try and let us know how it goes.

A human should be around soon to offer more advice. But you can also get helpful information quickly by asking v0.

I have the same issue, please look here: