Optional catch-all segment
Answered
Akshay Gole posted this in #help-forum
I don't understand what is wrong with my code!
When I apply double [[]], it does not work.
I have attached the video displaying my error (Please ignore the typing and clicking noice).
When I apply double [[]], it does not work.
I have attached the video displaying my error (Please ignore the typing and clicking noice).
Answered by B33fb0n3
No, I used the exact same code, as you saw online. You might want to try to disable caches, clear cookies, … to make sure you get the current page. If that still doesn’t work you can also try to delete the .next folder and restart the app AFTER you created the optional catch all
14 Replies
your error seems not reproduceable for me. See here: https://codesandbox.io/p/devbox/yq6wwh
Please share a repro of your issue via github or codesandbox to have a further look into the issue
Please share a repro of your issue via github or codesandbox to have a further look into the issue
please have a look 🙂
it looks like I can access the repo, but not the projects inside. Please share only one project repro
I just tested your code and your code works fine for me as well 🤔
See here: https://codesandbox.io/p/github/B33fb0n3/nextJsLearning/main?import=true
See here: https://codesandbox.io/p/github/B33fb0n3/nextJsLearning/main?import=true
Is it due to the turbopack?
I have used same code, It does not work on my local system. Any potential solution?
No, I used the exact same code, as you saw online. You might want to try to disable caches, clear cookies, … to make sure you get the current page. If that still doesn’t work you can also try to delete the .next folder and restart the app AFTER you created the optional catch all
Answer
Okay I will try this and get back to you
It worked. I restarted the application and cleared the cache.
Thank you soo much for helping me. 🙂
You made learning easier.
Thank you soo much for helping me. 🙂
You made learning easier.
Happy to help