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

Two errors on page reload after login as admin #19

Open
Konard opened this issue Jul 6, 2024 · 0 comments
Open

Two errors on page reload after login as admin #19

Konard opened this issue Jul 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Konard
Copy link
Member

Konard commented Jul 6, 2024

image

Error 1:

Next.js (14.2.4)

Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.
See more info here: https://nextjs.org/docs/messages/react-hydration-error

Expected server HTML to contain a matching text node for "https://3007-deepfoundation-dev-e6i6rwzo8u2.ws-eu115.gitpod.io/api/gql" in <code>.


<App>
  <Provider>
    <ChakraProvider2>
      <ChakraProvider>
        <ThemeProvider>
          <ThemeProvider>
            <ColorModeProvider>
              <EnvironmentProvider>
                <CapacitorStoreProvider>
                  <QueryStoreProvider>
                    <CookiesStoreProvider>
                      <CookiesProvider>
                        <CookiesStoreProviderCore>
                          <LocalStoreProvider>
                            <TokenProvider>
                              <ProviderCore>
                                <ApolloClientTokenizedProvider>
                                  <ApolloClientRegenerator>
                                    <ApolloProvider>
                                      <DeepProvider>
                                        <CustomI18nProvider>
                                          <Page>
                                            <ChakraComponent>
                                              <eval>
                                                <div>
                                                  <VStack>
                                                    <eval>
                                                      <ChakraComponent>
                                                        <eval>
                                                          <div>
                                                            <Connection>
                                                              <Card2>
                                                                <ChakraComponent>
                                                                  <eval>
                                                                    <div>
                                                                      <CardBody2>
                                                                        <ChakraComponent>
                                                                          <eval>
                                                                            <div>
                                                                              <Code2>
                                                                                <ChakraComponent>
                                                                                  <eval>
                                                                                    <code>
                                                                                      <code>
                                                                                        "https://3007-deepfoundation-dev-e6i6rwzo8u2.ws-eu115.gitpod.io/api/gql"
Call Stack
React
throwOnHydrationMismatch
node_modules/react-dom/cjs/react-dom.development.js (12507:1)
tryToClaimNextHydratableInstance
node_modules/react-dom/cjs/react-dom.development.js (12520:1)
updateHostText
node_modules/react-dom/cjs/react-dom.development.js (19959:1)
beginWork
node_modules/react-dom/cjs/react-dom.development.js (21660:1)
HTMLUnknownElement.callCallback
node_modules/react-dom/cjs/react-dom.development.js (4164:1)
Object.invokeGuardedCallbackDev
node_modules/react-dom/cjs/react-dom.development.js (4213:1)
invokeGuardedCallback
node_modules/react-dom/cjs/react-dom.development.js (4277:1)
beginWork$1
node_modules/react-dom/cjs/react-dom.development.js (27490:1)
performUnitOfWork
node_modules/react-dom/cjs/react-dom.development.js (26596:1)
workLoopSync
node_modules/react-dom/cjs/react-dom.development.js (26505:1)
renderRootSync
node_modules/react-dom/cjs/react-dom.development.js (26473:1)
performConcurrentWorkOnRoot
node_modules/react-dom/cjs/react-dom.development.js (25777:1)
workLoop
node_modules/scheduler/cjs/scheduler.development.js (266:1)
flushWork
node_modules/scheduler/cjs/scheduler.development.js (239:1)
MessagePort.performWorkUntilDeadline
node_modules/scheduler/cjs/scheduler.development.js (533:1)

image

Error 2:

Unhandled Runtime Error
Error: There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.

Call Stack
React
updateHostRoot
node_modules/react-dom/cjs/react-dom.development.js (19878:1)
beginWork
node_modules/react-dom/cjs/react-dom.development.js (21654:1)
beginWork$1
node_modules/react-dom/cjs/react-dom.development.js (27465:1)
performUnitOfWork
node_modules/react-dom/cjs/react-dom.development.js (26596:1)
workLoopSync
node_modules/react-dom/cjs/react-dom.development.js (26505:1)
renderRootSync
node_modules/react-dom/cjs/react-dom.development.js (26473:1)
recoverFromConcurrentError
node_modules/react-dom/cjs/react-dom.development.js (25889:1)
performConcurrentWorkOnRoot
node_modules/react-dom/cjs/react-dom.development.js (25789:1)
workLoop
node_modules/scheduler/cjs/scheduler.development.js (266:1)
flushWork
node_modules/scheduler/cjs/scheduler.development.js (239:1)
MessagePort.performWorkUntilDeadline
node_modules/scheduler/cjs/scheduler.development.js (533:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant