ericwaetke
Generating Client Only code for static deployment
Hey people,
I’m trying to build my solid start app for client use only. We’ve got an ordinary, no bells and whistles, webspace. And my goal is to deploy the solid start app to there. However, I’m not quite sure how to do that.
Both when building with the default adapter and SSR turned off, and with the solid-start-static adapter, I only get "server" code.
Also, it confuses me that SSR needs to be turned on for solid start static? I guess that makes sense because it needs to be rendered on the server in order to generate the static files.
I don’t even know if I need a static export? There is quite a lot of code expected to run at runtime, and not a lot of static elements.
Btw, it was already surprisingly difficult to figure out there even is solid-start-static, and 2) to find it, as in the docs it’s only referred to as »Static Hosting«
Do you guys have recommendations on what to do?
16 replies
Solid Start not deploying on vercel in turborepo
Hi all,
my solid start project doesn't deploy to vercel, aka every build fails.
There are no error's though, the build fails, because the deployment duration takes over 45 minutes.
There are 0 errors in the output log, and the output ends with the following
3 replies
SSR in Turbo Repo
Hi you all,
I've recently converted 2 solid start projects of mine in a single turborepo
Since doint that, I'm not able to use SSR anymore.
No matter on what page I navigate, I'm prompted with this error:
An error occured while server rendering /:
Interestingly, as soon as I disable in my vite.config.ts
everything works. Except ssr of course.
Funnily enough, when I try to deploy on vercel without SSR, I get the exact from last year (https://github.com/solidjs/solid-start/issues/383) except that it should have been fixed already. (I'm on 0.2.30)
1 replies