You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by tschaub November 1, 2024
This would be better suited for a bug report, but I haven't yet figured out the minimum steps to reproduce the issue.
After running the Slidev dev server for a while, I often see these two warnings and the following error:
runtime-core.esm-bundler.js:51 [Vue warn]: injection "Symbol(router)" not found.
runtime-core.esm-bundler.js:51 [Vue warn]: Unhandled error during execution of setup function
at <App>
useNav.ts:276 Uncaught TypeError: Cannot read properties of undefined (reading 'currentRoute')
at ComputedRefImpl.fn (useNav.ts:276:46)
at refreshComputed (reactivity.esm-bundler.js:377:28)
at get value (reactivity.esm-bundler.js:1627:5)
at ComputedRefImpl.fn (useNav.ts:285:49)
at refreshComputed (reactivity.esm-bundler.js:377:28)
at get value (reactivity.esm-bundler.js:1627:5)
at unref (reactivity.esm-bundler.js:1472:29)
at toValue (index.mjs:211:42)
at index.mjs:26:42
at Array.some (<anonymous>)
This sometimes happens after adding or removing slides from slides.md. Other times it happens upon first starting the dev server after installing a package.
I don't have any special router setup, I'm using the default theme, and am not calling useRouter myself. Has anyone else run into this?
Has anyone else run into this?
The text was updated successfully, but these errors were encountered:
Discussed in #1924
Originally posted by tschaub November 1, 2024
This would be better suited for a bug report, but I haven't yet figured out the minimum steps to reproduce the issue.
After running the Slidev dev server for a while, I often see these two warnings and the following error:
This sometimes happens after adding or removing slides from
slides.md
. Other times it happens upon first starting the dev server after installing a package.I'm using
@slidev/[email protected]
and[email protected]
.I don't have any special router setup, I'm using the default theme, and am not calling
useRouter
myself. Has anyone else run into this?Has anyone else run into this?
The text was updated successfully, but these errors were encountered: