Replies: 3 comments 9 replies
-
Not sure if this is your issue, but it should be |
Beta Was this translation helpful? Give feedback.
-
I have a few Nuxt3 projects that I have recently created, all running on port 3000 - not sure if that could have to do with it. I decided to start the one I am currently working on on another port and have done some testing - so far I haven't been able to reproduce the issue. Not sure how this could cause it, but thought worth mentioning, in case that could causing some issues!? |
Beta Was this translation helpful? Give feedback.
-
Ok, after removing everything from the project to try and isolate where the issue is coming from, and still getting the issue for this particular project on port 3000 (btw, other nuxt projects running on the same port in the same browser and also under localhost, where NOT having the problem). But anyways, after stripping it all down to just one app.vue file and still getting the error, I (finally, and should have done that way earlier) cleared all browser data and tada, that was causing it to do the strange 404 redirect. FYI @AloisSeckar. What I don't understand is how this could have been caused by the browser though!? Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Hi there,
I am getting a strange behaviour when working with composables and plugins (maybe also other things, but I have confirmed that this is the case for these at least).
When I add a new plugin for example, all my pages, which previously worked are still loading, but then instantly update to a 404. Restarting the application doesn't fix it, nor does deleting the .nuxt folder. The only way to fix it is to make a template change in any of the vue pages. Very strange..
See attached a video of the issue, showcasing that the page still loads, as well as that the composable and plugin are executed and working, but also the strange instant 404 redirect. You can also see the console for the detailed errors.
For some more details, everything was working, then I did the following changes:
Sometimes the 404 stops randomly or after a few random changes and restarts of the app. Mostly it instantly is fixed by changing the template section of any page.
I am using the very latest version of Nuxt3 and the project is very much bare bone.
Hope anyone can shed some light into this for me, so I understand better what's going on and if this is a bug or something that I am doing wrong on my side.
nuxt3-404-issue.mov
Beta Was this translation helpful? Give feedback.
All reactions