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

Navigating from router-view throws Missing required param #26969

Open
luminous8 opened this issue Apr 26, 2024 · 0 comments
Open

Navigating from router-view throws Missing required param #26969

luminous8 opened this issue Apr 26, 2024 · 0 comments

Comments

@luminous8
Copy link

luminous8 commented Apr 26, 2024

Environment


  • Operating System: Darwin
  • Node Version: v20.11.1
  • Nuxt Version: 3.11.1
  • CLI Version: 3.11.1
  • Nitro Version: 2.9.5
  • Package Manager: npm@10.2.4
  • Builder: -
  • User Config: ssr, devtools, site, devServer, modules, robots, css, runtimeConfig, vite, app
  • Runtime Modules: @nuxtjs/tailwindcss@6.11.4, nuxt-icon@0.6.10, nuxt-auth-utils@0.0.20, @pinia/nuxt@0.5.1, @nuxt/image@1.4.0, @nuxtjs/device@3.1.1, @nuxt/devtools@1.1.5
  • Build Modules: -

Reproduction

Honestly i'm not sure how to reproduce it

Describe the bug

When browsing from a route to another i'm getting a Error: Missing required param error.

It seems that I'm not the only one if you look at the recent comments on this issue vuejs/router#845

I have this bug in production as well

Additional context

No response

Logs

vue-router.mjs:1125 Uncaught (in promise) Error: Missing required param "articleSlug"
    at Object.stringify (vue-router.mjs:1125:35)
    at Object.resolve (vue-router.mjs:1585:28)
    at Object.resolve (vue-router.mjs:3064:38)
    at vue-router.mjs:2172:41
    at ReactiveEffect.fn (reactivity.esm-bundler.js:994:13)
    at ReactiveEffect.run (reactivity.esm-bundler.js:177:19)
    at get value (reactivity.esm-bundler.js:1006:102)
    at triggerComputed (reactivity.esm-bundler.js:196:19)
    at get dirty (reactivity.esm-bundler.js:149:11)
    at Array.job (runtime-core.esm-bundler.js:1937:35)
stringify	@	vue-router.mjs:1125
resolve	@	vue-router.mjs:1585
resolve	@	vue-router.mjs:3064
(anonymous)	@	vue-router.mjs:2172
(anonymous)	@	reactivity.esm-bundler.js:994
run	@	reactivity.esm-bundler.js:177
get value	@	reactivity.esm-bundler.js:1006
triggerComputed	@	reactivity.esm-bundler.js:196
get dirty	@	reactivity.esm-bundler.js:149
job	@	runtime-core.esm-bundler.js:1937
flushPostFlushCbs	@	runtime-core.esm-bundler.js:370
flushJobs	@	runtime-core.esm-bundler.js:408
Promise.then (async)		
nextTick	@	runtime-core.esm-bundler.js:278
onResolve	@	page.js:102
triggerEvent	@	runtime-core.esm-bundler.js:1230
resolve	@	runtime-core.esm-bundler.js:1559
resolve	@	runtime-core.esm-bundler.js:1555
(anonymous)	@	runtime-core.esm-bundler.js:1654
Promise.then (async)		
registerDep	@	runtime-core.esm-bundler.js:1618
mountComponent	@	runtime-core.esm-bundler.js:5907
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
mountChildren	@	runtime-core.esm-bundler.js:5583
mountElement	@	runtime-core.esm-bundler.js:5490
processElement	@	runtime-core.esm-bundler.js:5455
patch	@	runtime-core.esm-bundler.js:5323
mountChildren	@	runtime-core.esm-bundler.js:5583
mountElement	@	runtime-core.esm-bundler.js:5490
processElement	@	runtime-core.esm-bundler.js:5455
patch	@	runtime-core.esm-bundler.js:5323
mountChildren	@	runtime-core.esm-bundler.js:5583
processFragment	@	runtime-core.esm-bundler.js:5797
patch	@	runtime-core.esm-bundler.js:5309
mountChildren	@	runtime-core.esm-bundler.js:5583
mountElement	@	runtime-core.esm-bundler.js:5490
processElement	@	runtime-core.esm-bundler.js:5455
patch	@	runtime-core.esm-bundler.js:5323
componentUpdateFn	@	runtime-core.esm-bundler.js:6011
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
setupRenderEffect	@	runtime-core.esm-bundler.js:6145
mountComponent	@	runtime-core.esm-bundler.js:5913
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
mountChildren	@	runtime-core.esm-bundler.js:5583
processFragment	@	runtime-core.esm-bundler.js:5797
patch	@	runtime-core.esm-bundler.js:5309
componentUpdateFn	@	runtime-core.esm-bundler.js:6011
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
setupRenderEffect	@	runtime-core.esm-bundler.js:6145
(anonymous)	@	runtime-core.esm-bundler.js:1632
Promise.then (async)		
registerDep	@	runtime-core.esm-bundler.js:1618
mountComponent	@	runtime-core.esm-bundler.js:5907
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
componentUpdateFn	@	runtime-core.esm-bundler.js:6011
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
setupRenderEffect	@	runtime-core.esm-bundler.js:6145
mountComponent	@	runtime-core.esm-bundler.js:5913
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
mountSuspense	@	runtime-core.esm-bundler.js:1251
process	@	runtime-core.esm-bundler.js:1191
patch	@	runtime-core.esm-bundler.js:5360
componentUpdateFn	@	runtime-core.esm-bundler.js:6011
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
setupRenderEffect	@	runtime-core.esm-bundler.js:6145
mountComponent	@	runtime-core.esm-bundler.js:5913
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
componentUpdateFn	@	runtime-core.esm-bundler.js:6011
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
setupRenderEffect	@	runtime-core.esm-bundler.js:6145
mountComponent	@	runtime-core.esm-bundler.js:5913
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
componentUpdateFn	@	runtime-core.esm-bundler.js:6011
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
setupRenderEffect	@	runtime-core.esm-bundler.js:6145
mountComponent	@	runtime-core.esm-bundler.js:5913
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
componentUpdateFn	@	runtime-core.esm-bundler.js:6011
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
setupRenderEffect	@	runtime-core.esm-bundler.js:6145
mountComponent	@	runtime-core.esm-bundler.js:5913
processComponent	@	runtime-core.esm-bundler.js:5867
patch	@	runtime-core.esm-bundler.js:5335
patchSuspense	@	runtime-core.esm-bundler.js:1412
process	@	runtime-core.esm-bundler.js:1209
patch	@	runtime-core.esm-bundler.js:5360
componentUpdateFn	@	runtime-core.esm-bundler.js:6091
run	@	reactivity.esm-bundler.js:177
instance.update	@	runtime-core.esm-bundler.js:6135
callWithErrorHandling	@	runtime-core.esm-bundler.js:195
flushJobs	@	runtime-core.esm-bundler.js:402
Promise.then (async)		
queueFlush	@	runtime-core.esm-bundler.js:311
queueJob	@	runtime-core.esm-bundler.js:305
(anonymous)	@	runtime-core.esm-bundler.js:6129
resetScheduling	@	reactivity.esm-bundler.js:264
triggerEffects	@	reactivity.esm-bundler.js:308
triggerRefValue	@	reactivity.esm-bundler.js:1075
set value	@	reactivity.esm-bundler.js:1120
finalizeNavigation	@	vue-router.mjs:3361
(anonymous)	@	vue-router.mjs:3226
Promise.then (async)		
pushWithRedirect	@	vue-router.mjs:3193
push	@	vue-router.mjs:3118
navigate	@	vue-router.mjs:2204
callWithErrorHandling	@	runtime-core.esm-bundler.js:195
callWithAsyncErrorHandling	@	runtime-core.esm-bundler.js:202
invoker	@	runtime-dom.esm-bundler.js:693
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant