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
I get the following in my console when trying to use the production version of my project. I've been trying to switch to vike-node, due to the ongoing conversation in #1165. I'm using the latest code: vike 0.4.213, vike-node 0.3.0.
entry-client-routing.dep4tC4S.js:127 Uncaught (in promise) Error: [[email protected]][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 within 24 hours).
at createErrorWithCleanStackTrace (entry-client-routing.dep4tC4S.js:127:17)
at assert (entry-client-routing.dep4tC4S.js:203:27)
at getPageFilesAll (entry-client-routing.dep4tC4S.js:2538:5)
at createPageContext (entry-client-routing.dep4tC4S.js:3013:46)
at getPageContextBegin (entry-client-routing.dep4tC4S.js:4469:31)
at renderPageNominal (entry-client-routing.dep4tC4S.js:4344:31)
at renderPageClientSide (entry-client-routing.dep4tC4S.js:4338:9)
at renderFirstPage (entry-client-routing.dep4tC4S.js:4910:11)
at initClientRouter (entry-client-routing.dep4tC4S.js:4900:36)
at entry-client-routing.dep4tC4S.js:4927:1
It crashes on the final assert in this function. All three of the variables in the expression are undefined: pageFilesAll, pageConfigs, and pageConfigGlobal.
I'm not sure how to debug this. The main thing that's unusual about my setup is that I construct a GraphQL client (urql) in the pageContext callback, like this:
I get the following in my console when trying to use the production version of my project. I've been trying to switch to
vike-node
, due to the ongoing conversation in #1165. I'm using the latest code: vike 0.4.213, vike-node 0.3.0.It crashes on the final
assert
in this function. All three of the variables in the expression are undefined:pageFilesAll
,pageConfigs
, andpageConfigGlobal
.It works okay in dev and builds without issues.
I'm not sure how to debug this. The main thing that's unusual about my setup is that I construct a GraphQL client (urql) in the pageContext callback, like this:
The text was updated successfully, but these errors were encountered: