question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

injection "Symbol(route location)" not found

See original GitHub issue

Environment

nuxt 3 ubuntu

Reproduction

If i put project in one dir it work, if move to other not work. Always something not work.

Describe the bug

[log warn] injection "Symbol(route location)" not found. Proxy at <Anonymous>
at <App>
at <NuxtRoot>

logger.plugin.ts:4 [log error] TypeError: Cannot read properties of undefined (reading 'meta')
    at ReactiveEffect.fn (layout.mjs?v=57006e23:43:62)
    at ReactiveEffect.run (chunk-Q5TZPECP.js?v=57006e23:388:19)
    at get value [as value] (chunk-Q5TZPECP.js?v=57006e23:1215:35)
    at Proxy.<anonymous> (layout.mjs?v=57006e23:56:32)
    at renderComponentRoot (chunk-Q5TZPECP.js?v=57006e23:1941:39)
    at hydrateSubTree (chunk-Q5TZPECP.js?v=57006e23:5591:32)
    at ReactiveEffect.componentUpdateFn [as fn] (chunk-Q5TZPECP.js?v=57006e23:5608:13)
    at ReactiveEffect.run (chunk-Q5TZPECP.js?v=57006e23:388:19)
    at instance.update (chunk-Q5TZPECP.js?v=57006e23:5710:52)
    at setupRenderEffect (chunk-Q5TZPECP.js?v=57006e23:5718:5) Proxy render function






-----


at Array.join ()
at warn2 (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:1263:18)
at handleMismatch (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:5081:5)
at onMismatch (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:4878:30)
at hydrateNode (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:4909:22)
at hydrateSubTree (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:5598:13)
at ReactiveEffect.componentUpdateFn [as fn] (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:5608:13)
at ReactiveEffect.run (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:388:19)
at instance.update (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:5710:52)
at setupRenderEffect (http://localhost:3000/_nuxt/node_modules/.vite/deps/chunk-Q5TZPECP.js?v=57006e23:5718:5)

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:19 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
DamianGlowalacommented, Oct 27, 2022

First of all, please mind your language and be respectful towards the other members of the community.

Second of all, an error message is not a reproduction. As much as everyone understands the frustration, it might be naturally difficult to determine the cause of the issue without being able to reproduce such a behavior. See https://v3.nuxtjs.org/community/reporting-bugs#create-a-minimal-reproduction for more information. I will try to prepare a reproduction myself in the evening.

On a side note, please do not post multiple consecutive comments (as the ones above) when you can use an ‘Edit’ option and keep only one. Each one of them triggers an email notification to everyone involved in this thread.

2reactions
n4ancommented, Oct 27, 2022

good that they don’t start crying like others because don’t get money for that

Read more comments on GitHub >

github_iconTop Results From Across the Web

injection "Symbol(route location)" not found #8526 - GitHub
This started happening after an upgrade from 3.0.0-rc.13-27778536.1d795f0 to 3.0.0-rc.13-27779883.2284525. And yes, I do use pages in the ...
Read more >
Injection "Symbol()" not found error Vuejs - Stack Overflow
I am using confirmdialog in primevue and get this error: [Vue warn]: injection "Symbol()" ...
Read more >
Looking for a simple working example of vue-router + vue3 + ...
So, I'm not initializing the router for several reasons: I don't actually have any "routes" per se. It's a single page app so...
Read more >
Symbol([vue-router]: route location)" not found - Bountysource
Symbol ([vue-router]: route location)" not found.
Read more >
vue-router's useRoute is not correctly mocked - Devscope.io
Any time I run a component test with a mocked useRoute , the mock returns undefined, and Vue warns about missing injections.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found