-
Notifications
You must be signed in to change notification settings - Fork 375
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
solid-start-static
adapter throws ERR_INVALID_ARG_TYPE(
#285
Comments
solid-start-static
throws ERR_INVALID_ARG_TYPE(
solid-start-static
throws ERR_INVALID_ARG_TYPE(solid-start-static
adapter throws ERR_INVALID_ARG_TYPE(
I found I can get a working build by doing the following steps:
Then and only then can I build
|
static entry generation, does not explicitly handles the 404 status code case ( see entry.js#L26 ) if 404 is explicitly handled in https://github.com/solidjs/solid-start/blob/main/packages/start-static/entry.js#L26-L28 - if (webRes.status === 200) {
+ if (webRes.status === 200 || webRes.status === 404) { alternatively return response body for any status code(to cover more cases) except for the redirect handling. |
Can't reproduce: https://stackblitz.com/edit/github-ov6sy6 Possibly already fixed? |
repro steps
build log
package.json
The text was updated successfully, but these errors were encountered: