SolidJSS
SolidJSβ€’2y agoβ€’
6 replies
deminearchiver

Cloudflare Pages deployment route content not loaded

Like for 2-3 days I'm trying to deploy my test Solid Start site at least SOMEWHERE, but the only provider which seems doable is Cloudflare Pages - my site actually gets deployed successfully.

But when I go to the deployment URL I can see my navbar, but I cannot see the current route content (which is wrapped in
Suspense
in my code):

const App: Component = () => {
  return (
    <Router root={
      props => (
        <MultiProvider
          values={[
            MetaProvider,
            ThemeProvider,
            HeroProvider,
          ]}>
              <Title>Solid Start</Title>
              <AppBar />
              <Suspense>{props.children}</Suspense>
        </MultiProvider>
      )
    }>
        <FileRoutes />
    </Router>
  );
}


Below I have 2 screenshots, the empty one from the deployment and the correct one from localhost.



I'm really open for any suggestions because it this point I'm completely desparate: my project can't even be built statically, and when deploying to Vercel or Netlify I get errors which nobody else seems to be getting.
image.png
image.png
Was this page helpful?