Skip to content

fix(create): SSR flip uses start.nodeServer - #95

Merged
Tommypop2 merged 1 commit into
solidjs-community:mainfrom
junaidkhan80121:fix/5054-ssr-flip-nodeServer
Nov 20, 2026
Merged

Tommypop2 merged 1 commit into
solidjs-community:mainfrom
junaidkhan80121:fix/5054-ssr-flip-nodeServer

Conversation

@junaidkhan80121

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • pnpm --filter @solid-cli/create test (53/53)
  • Bugbot on uncommitted diff; stale duplicate changeset cleaned up

@lawrence8991

Copy link
Copy Markdown

@ryansolid @brenelz this is still what pnpm create solid ships.

create-solid@0.13.0 (published 2026-11-16) rewrites the basic template to solid({ start: { node: true }, ssr: true }). @solidjs/vite-plugin@3.0.0 rejects that key and pnpm dev dies before the server starts:

Error: [@solidjs/vite-plugin] `start.node` has been renamed to `start.nodeServer`.

This PR is the fix (anchor replacement is start: { nodeServer: true }, tests updated). It has no review requests and no checks. Merging and publishing @solid-cli/create is what stops new SSR scaffolds from being broken out of the box. Until then the workaround is renaming node to nodeServer in the generated vite.config.ts.

solidjs/solid#5054

@Tommypop2
Tommypop2 merged commit 3049e88 into solidjs-community:main Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solid 2.0 basic template uses deprecated start.node option

3 participants