The following error is sometimes being triggered when using client-side navigation. Edit: Correction - the error actually seems to occur when hovering over internal links (and before clicking).
Uncaught (in promise) Error: [vike@0.4.198][Bug] You stumbled upon a Vike bug. Go to https://github.com/vikejs/vike/issues/new and copy-paste this error. A maintainer will fix the bug (usually under 24 hours).
at createErrorWithCleanStackTrace (createErrorWithCleanStackTrace.js:4:17)
at assert (assert.js:54:27)
at setPageContextPrefetchCache (prefetch.js:73:5)
at prefetchPageContextFromServerHooks (prefetch.js:61:5)
at async prefetch.js:212:21
at async Promise.all (index 1)
at async prefetchOnEvent (prefetch.js:199:5)
The assert() is the following from setPageContextPrefetchCache():
assert(isBrilloutDocpress()); // Ensure this API isn't used by anyone else
I also have random long delays in navigation, likely somewhere between page transition start and the onBeforeRender() hook, which I am currently trying to troubleshoot -- they may or may not be related.
Please let me know if you need more details to investigate/reproduce.
Description
The following error is sometimes being triggered when using client-side navigation.Edit: Correction - the error actually seems to occur when hovering over internal links (and before clicking).The assert() is the following from setPageContextPrefetchCache():
I also have random long delays in navigation, likely somewhere between page transition start and the onBeforeRender() hook, which I am currently trying to troubleshoot -- they may or may not be related.
Please let me know if you need more details to investigate/reproduce.