Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Navigation in Nuxt 3.12.2 - Uncaught (in promise) TypeError: Cannot redefine property: __navigationId at Function.defineProperty (<anonymous>) #618

Open
Ninolina88 opened this issue Sep 27, 2024 · 4 comments

Comments

@Ninolina88
Copy link

Operating System: Linux - Ubuntu
"packageManager": "[email protected]",
"volta": {
"node": "20.11.0"
}
"engines": {
"node": ">=20.11.0"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/kit": "^3.12.4"
},
"dependencies":{
"nuxt": "^3.12.4",
"vue": "^3.4.21"
},

DESCRIPTION:

After moving to Nuxt 3.12.4 version, we occasionally encounter a navigation_id error in our console. It is unclear to our whole development team what the issue's source is. Here is the screenshot of it.

Screenshot from 2024-09-27 11-05-37

Developers raised an issue with Nuxt, but we received information that it is related to VueDevtools.
Can you please check this?

@webfansplz
Copy link
Member

Can you try to provide a mini repo 🙏?

@NguyenAnhKietUIT
Copy link

I also encountered a similar error. Because it only appears occasionally, it's tough to provide something clear like a mini repo.

@Ninolina88
Copy link
Author

Can you try to provide a mini repo 🙏?

It is very difficult to create a mini-repo for this issue, been trying so far without success.

@Ninolina88
Copy link
Author

I managed to reproduce the issue multiple times, and I have included videos below to demonstrate.

  • Video 1: https://streamable.com/azg5k5
    In this video, you can see the logged navigation object, which shows that the route didn’t change. When attempting to navigate to the channel details, the navigation issue persisted, preventing access to the channel details page.

  • Video 2: https://streamable.com/vcnt2l
    In this video, I had to completely close the browser (simply closing Vue DevTools didn’t help). After restarting the browser, I was able to access the application again, and the issue no longer occurred. Additionally, the logged 'from' object shows that the route didn’t change, and no code changes were made in my project.

Steps to Reproduce:

  1. Start the project: yarn dev
  2. Open Firefox browser
  3. Go to localhost:3000
  4. Open the inspect tool in a separate window with the latest Vue.js DevTools extension installed
  5. Attempt to access any channel
  6. Observe the logs, where errors will appear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants