404 on back navigation from an external link
Answered
Bengal posted this in #help-forum
BengalOP
I have an /about page and I'm using regular HTML a tags to redirect a user to an external site. However, upon navigating back to the I'm presented with a 404. This issues persists throughout all routes and until the process is restarted. Is this in any way just an issue in dev mode?
Answered by Bengal
so interestingly enough, I cannot recreate it anymore. Even going back to my original project, the issue doesn't exist.
The only notable thing I can mention is that in the process of creating a new project it asked me to update pnpm, which I did, but it said it wasn't setup properly and after running the needed command the issue is gone?
The only notable thing I can mention is that in the process of creating a new project it asked me to update pnpm, which I did, but it said it wasn't setup properly and after running the needed command the issue is gone?
9 Replies
Could you provide us more details? Screenshots, code of problematic page route or even reproduction (https://nextjs-faq.com/minimal-reproduction-repository) would help to solve this in a blink 😉
@Z4NR34L Could you provide us more details? Screenshots, code of problematic page route or even reproduction (https://nextjs-faq.com/minimal-reproduction-repository) would help to solve this in a blink 😉
BengalOP
Yea, let me get that minimal repo setup. I can't share my existing code since its a private project
sure, no problem 😄
@Z4NR34L sure, no problem 😄
BengalOP
so interestingly enough, I cannot recreate it anymore. Even going back to my original project, the issue doesn't exist.
The only notable thing I can mention is that in the process of creating a new project it asked me to update pnpm, which I did, but it said it wasn't setup properly and after running the needed command the issue is gone?
The only notable thing I can mention is that in the process of creating a new project it asked me to update pnpm, which I did, but it said it wasn't setup properly and after running the needed command the issue is gone?
Answer
BengalOP

That's pretty possible you didn't had something installed yet from deps 😄
BengalOP
I definitely checked that but as long as the issue seems to be fixed, I'm happy
thanks for taking your time and trying to help
no problem! happy coding 😄