404 NOT_FOUND ERROR #5715
-
SummaryHello, been trying to deploy a project but keep getting the "404: NOT_FOUND Code: NOT_FOUND ID: cdg1::xdwlw-1706844949255-2c99a53fa9f7" Being having problems with this tried finding solutions but all seem to not work. Here is my vercel.json file configuration. "{ "version": 2, "routes": [ { "src": "/(.)", "dest": "/server.js" }, { "src": "/views/layouts/main.handlebars", "dest": "/server.js" }, { "src": "/public/(.*)", "dest": "/public/$1" } ] }" Don't know if I am doing something wrong. Please can you help out? Examplehttps://puzzle-africa-com.vercel.app/ Steps to Reproduce"{ "version": 2, "routes": [ { "src": "/(.)", "dest": "/server.js" }, { "src": "/views/layouts/main.handlebars", "dest": "/server.js" }, { "src": "/public/(.*)", "dest": "/public/$1" } ] }" |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 26 replies
-
I am also getting the same issue on cle1, glad to see its not just me. Adding on to this a bit, preview domains work fine, but the actual main vercel domain doesn't work. |
Beta Was this translation helpful? Give feedback.
-
Seems to be resolved now |
Beta Was this translation helpful? Give feedback.
-
Do you have a public repo or minimal reproducible example to show how your project is designed? The correct configuration depends on the app structure. |
Beta Was this translation helpful? Give feedback.
-
404: NOT_FOUND guys help and resolve the error |
Beta Was this translation helpful? Give feedback.
-
Hello guys? Has anyone found a solution? |
Beta Was this translation helpful? Give feedback.
-
404: NOT_FOUND I AM FACING ERROR PLEASE SOLVE IT. |
Beta Was this translation helpful? Give feedback.
-
404: NOT_FOUND Any one can help me to solve this fucking error |
Beta Was this translation helpful? Give feedback.
-
A 404 NOT_FOUND means the requested resource could not be found. While there are too many possible causes for me to be able to offer and exact solution for everyone, here are some things you can check to narrow down the cause in your case.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Add a file vercel.json in your root directory. This worked for me. {
"rewrites": [
{"source": "/(.*)", "destination": "/"}
]
} |
Beta Was this translation helpful? Give feedback.
-
404: NOT_FOUND |
Beta Was this translation helpful? Give feedback.
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
A 404 NOT_FOUND means the requested resource could not be found. While there are too many possible causes for me to be able to offer and exact solution for everyone, here are some things you can check to narrow down the cause in your case.