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

this Bug show me whent I use vike-react with vike-react/usePageContext #2038

Open
zam205 opened this issue Dec 23, 2024 · 1 comment
Open
Labels

Comments

@zam205
Copy link

zam205 commented Dec 23, 2024

Description

createErrorWithCleanStackTrace.js?v=a324afb0? [sm]:4 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 (createErrorWithCleanStackTrace.js?v=a324afb0? [sm]:4:17)
at assert (assert.js?v=a324afb0? [sm]:54:27)
at getPageContextSerializedInHtml (getPageContextSerializedInHtml.js?v=a324afb0? [sm]:18:5)
at getPageContextFromHooks_serialized (getPageContextFromHooks.js?v=a324afb0? [sm]:24:35)
at renderPageNominal (renderPageClientSide.js?v=a324afb0? [sm]:82:43)
at async renderPageClientSide (renderPageClientSide.js?v=a324afb0? [sm]:47:5)
at async renderFirstPage (initClientRouter.js?v=a324afb0? [sm]:24:5)
at async initClientRouter (initClientRouter.js?v=a324afb0? [sm]:20:5)
createErrorWithCleanStackTrace @ createErrorWithCleanStackTrace.js?v=a324afb0? [sm]:4
assert @ assert.js?v=a324afb0? [sm]:54
getPageContextSerializedInHtml @ getPageContextSerializedInHtml.js?v=a324afb0? [sm]:18
getPageContextFromHooks_serialized @ getPageContextFromHooks.js?v=a324afb0? [sm]:24
renderPageNominal @ renderPageClientSide.js?v=a324afb0? [sm]:82
await in renderPageNominal (async)
(anonymous) @ entry.js? [sm]:10
favicon.ico:1 GET http://localhost:3000/favicon.ico 404 (Not Found)

@zam205 zam205 changed the title this be New Bug this Bug show me whent I use vike-react with vike-react/usePageContext Dec 23, 2024
@brillout
Copy link
Member

What's the content of the assert() call at getPageContextSerializedInHtml (getPageContextSerializedInHtml.js?v=a324afb0? [sm]:18:5)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants