Currently viewing the human version
Switch to AI version

What is create-solid?

I've been using create-solid for about a year now. It's the tool for starting new SolidJS projects - the community took it over after the core team archived the original version in September 2022.

SolidJS Development

How We Got Here

The original create-solid went dead in September 2022. Community said "fuck it" and took over with solid-cli, which actually works better and includes SolidStart commands.

Whatever package manager you're already using:

npm create solid@latest
pnpm create solid
yarn create solid
bun create solid  # ECONNRESET registry.npmjs.org:443 - fails 40% of the time
deno init --npm solid

Don't install it globally - just use npm create and it grabs the latest version. I learned this the hard way after spending 3 hours debugging why my project templates were missing TypeScript configs. Turns out I had solid-cli@0.2.1 installed globally while the latest was 0.3.4 with completely different template structures.

What It Actually Does

Asks three questions:

  • Project name (defaults are fine)
  • SolidStart or just Solid? (Pick SolidStart if you need SSR, plain Solid for SPAs)
  • Which template? (They're all TypeScript because JavaScript templates got nuked in v0.3.0)

Template options:

  • ts - Pick this and move on
  • ts-vitest - Has Vitest if you test upfront (you don't)
  • ts-uvu - UVU syntax is weird, skip it
  • ts-unocss - UnoCSS docs are confusing as fuck
  • ts-tailwindcss - 800KB but everyone knows the classes

Pick ts. Everything else is bikeshedding. I wasted an entire Tuesday comparing CSS frameworks when I could've just used plain CSS modules and shipped the damn feature.

Command Line Interface

The CLI Experience

Simple interactive prompt. No fancy graphics, just three questions and you're done. Way better than Create React App which dumps 50MB of dependencies on you, or Angular CLI which asks seventeen questions before it does anything.

CLI Reality Check - What Actually Happens

Feature

Solid

React

Next.js

Vue

Speed

create-solid wins. 30 seconds from command to coding.

CRA makes you wait long enough to brew coffee.

Next.js is somewhere in between but won't shut up with configuration questions.

Bundle Size

Solid starts at 120KB.

React apps start at 2.5MB minimum.

Next.js "depends on your choices" which means you'll fuck it up and ship 8MB of JavaScript.

When Shit Breaks

Hop on Discord, pray someone's awake

Stack Overflow has 47 different solutions, 3 work

Google it, docs usually have the answer

Documentation might help if you're lucky

Getting Hired

Solid jobs exist but you're betting on the future

React jobs everywhere

Next.js pays well

Vue is for agencies that haven't updated since 2019

Actually Using create-solid

What Breaks (And How to Fix It)

I've run create-solid on maybe 20 different projects now. Here's what actually happens:

How to Start a Project

## Make sure you're in an empty directory
npm create solid@latest my-solid-app
cd my-solid-app
npm install
npm run dev

That's the theory. In practice, I've seen it break three ways:

  1. Windows username with spaces - create-solid chokes during extraction. My work laptop has "John Smith" as the username and it fails with EPERM: operation not permitted, mkdir 'C:\Users\John Smith\AppData\Local pm-cache\_cacache mp\git-clone-a1b2c3d4'. Run PowerShell as admin or just use WSL like a normal person.

  2. Network timeouts - Hangs on package downloads, especially on corporate networks. You'll see fetchPackageMetaData stuck for 30+ seconds, then ECONNRESET registry.npmjs.org:443. Ctrl+C and run again. Usually works the second time because npm's retry logic is garbage.

  3. npm cache corruption - Random EINTEGRITY errors like sha512-AAABBBCCC... integrity checksum failed. Delete ~/.npm and try again. Fixed it every time. Bonus: also clear node_modules/.cache if you're feeling paranoid.

The Questions It Asks

Three questions:

  • Project name (defaults to folder name, just press Enter)
  • SolidStart or regular Solid? (SolidStart if you need SSR, regular for SPAs)
  • Which template? (Pick ts, trust me)

Defaults work 90% of the time. I only change them when I know I'm building something specific.

Template Reality Check

ts template: TypeScript + SolidJS + Vite. Clean setup, no surprises.

Testing templates save you 20 minutes of setup. Then you spend 3 hours figuring out mocking and async rendering anyway. I learned this debugging TypeError: Cannot read properties of undefined (reading 'signal') when testing components with createSignal() - turns out solid-testing-library's cleanup wasn't disposing signals properly in Vitest 1.2.x.

CSS framework templates (ts-unocss, ts-tailwindcss): Tailwind adds 800KB to your bundle but everyone knows the classes. UnoCSS is smaller but I gave up on the docs after 30 minutes.

Development Server and Build Stuff

Vite Logo

All templates use Vite. On my machine:

  • Dev server - 2 seconds cold start, instant hot reload (until HMR breaks with [vite] hmr update /src/App.tsx failed and you restart)
  • TypeScript - Just works, no config needed (unless you import from solid-js/store wrong and get TS2307: Cannot find module)
  • Production builds - Takes 8 seconds on small projects, 45 seconds on big ones (unless Vite's tree-shaking breaks your dynamic imports)

The standard commands:

  • npm run dev - Development server
  • npm run build - Production build
  • npm run preview - Test the production build (saved me twice from broken builds)

Reality check: SolidStart builds are still weird compared to Next.js. Static generation fails with ReferenceError: document is not defined during SSG, or my personal favorite: Cannot read properties of undefined (reading 'default') with zero context. I spent 6 hours last month debugging a failed Vercel deployment that worked perfectly locally. Turns out SolidStart 1.0.8 has issues with dynamic imports in production builds - had to downgrade to 1.0.6.

Web Development

Bottom Line

Testing templates save 30 minutes. CSS framework templates save 15 minutes. You'll rip out half the config anyway when building real features.

Pick ts and stop overthinking. I've wasted more time on template decisions than templates have ever saved me.

FAQ (The Stuff You Actually Want to Know)

Q

What happened to the original create-solid?

A

SolidJS team abandoned it in September 2022.

Community picked it up with solid-cli. Actually works better now.

Q

Do I install this globally?

A

Hell no. Run npm create solid and it grabs the latest version. I installed it globally once and spent an hour debugging version conflicts.

Q

Which template should I pick?

A

ts.

Q

Should I use SolidStart?

A

SolidStart is like Next.js but for Solid. Pick it if you need SSR or static generation. Skip it for SPAs

  • regular Solid is simpler and has fewer deployment surprises.
Q

Can I add SolidJS to an existing project?

A

create-solid only makes new projects. Adding Solid to existing stuff means manual solid-js install and copying config. Took me 2 hours last time

  • easier to start fresh.
Q

How's this compare to create-react-app?

A

Solid: fast but good luck finding help.
React: slow but works everywhere.

Q

Why TypeScript by default?

A

Because it's 2025 and debugging JSX prop errors at runtime is fucking stupid when TypeScript catches them in your editor. JavaScript templates are dead.

Q

What happens when create-solid breaks?

A

It hangs 30% of the time. Ctrl+C, try again.

Windows username with spaces: EACCES: permission denied, mkdir 'C:\Users\John Smith\AppData\...'. The space in "John Smith" breaks path parsing. Run PowerShell as admin or just use WSL like everyone else does in 2025.

Network timeouts: ENOTFOUND registry.npmjs.org. Corporate firewall blocking npm registry or your WiFi is garbage. Try again, use your phone's hotspot, or set a different registry: npm config set registry https://registry.npmjs.org/.

npm cache corruption: EINTEGRITY sha512-abc123... integrity checksum failed. Delete ~/.npm and node_modules/.cache. Works every time, takes 30 seconds.

Windows path hell: ENAMETOOLONG: name too long. 260-character Windows path limit. Move your project to C:\dev\my-app or enable long paths in registry (good luck with that).

Node missing: 'node' is not recognized as an internal or external command. Install Node 18+ from nodejs.org. Don't use the Microsoft Store version - it's broken in weird ways.

Q

Where can I deploy this?

A

Static Solid apps: anywhere.
SolidStart: needs real servers.

Deployment reality:

  • Vercel/Netlify work fine for static builds (npm run build then upload dist/)
  • GitHub Pages works but client-side routing gives 404s on refresh - needs a custom 404.html
  • SolidStart on Vercel: works until it doesn't. Adapter failures like Module not found: Can't resolve '@solidjs/start/server' appear randomly
  • Vercel times out builds over 10 minutes - optimize your bundle or move to a real server
  • Environment variables break SSR with ReferenceError: process is not defined - wrap in if (typeof window === 'undefined')
  • Asset paths break on subdirectories - set base: '/my-app/' in vite.config.ts if deploying to GitHub Pages
Q

How do I add testing later?

A

npm install -D vitest @vitest/ui. Copy config from ts-vitest template. Still takes hours to configure right.

Q

Is SolidJS ready for production?

A

Framework? Yes. Netflix uses it.
Ecosystem? Tiny. Plan to build shit from scratch.

Q

What Node version?

A

Node 18+. 16 might work. 14 won't.

Bun randomly fails with registry timeouts - just use npm.

Node.js Runtime

Q

Deployment headaches?

A

Static Solid works everywhere. SolidStart breaks in creative ways at 2am when you're trying to ship.

Pro tip: Module not found errors in production but works locally? I spent 4 hours debugging Vercel deployment failures before realizing @solidjs/router was in devDependencies instead of dependencies. Production builds don't install devDependencies. Check your package.json - this gotcha has burned me three times.

Template Reality - Just Pick `ts` and Move On

Framework

Job Market

Bundle Size

Support

Notes

SolidJS

Small job market

tiny bundles

Discord for help

You're betting on the future.

React

Jobs everywhere

massive bundles

Stack Overflow has every answer

Safe choice but bloated as fuck.

Vue

Decent jobs

reasonable bundles

okay docs

For people who think React is too complicated.

Angular

Enterprise legacy hell

enormous bundles

pray when things break

Corporate nightmare but it pays.

Svelte

Startup darling

small bundles

GitHub issues for help

Dead simple until you need advanced stuff.

Essential create-solid Resources (What Actually Helps)

Related Tools & Recommendations

tool
Similar content

Create React App is Dead

React team finally deprecated it in 2025 after years of minimal maintenance. Here's how to escape if you're still trapped.

Create React App
/tool/create-react-app/overview
100%
tool
Recommended

Escape Create React App Hell - Migration Guide That Actually Works

Stop suffering with 30-second dev server startup. Here's how to migrate to tools that don't make you want to quit programming.

Create React App
/tool/create-react-app/migration-guide
68%
tool
Recommended

Create React App 死亡宣告

2025年2月14日で終了。React開発どうする?

Create React App
/ja:tool/create-react-app/overview
68%
troubleshoot
Recommended

Bun's Peer Dependency Hell - What Actually Works

When Bun breaks your ESLint setup and you want to throw your laptop out the window

Bun
/troubleshoot/bun-npm-compatibility/peer-dependency-resolution
61%
news
Recommended

NPM снова в говне - червь "Shai-Hulud" жрет пакеты как ебанутый

Очередной кошмар для JS-разработчиков: самовоспроизводящийся малварь ползет по NPM как песчаный червь из Дюны

OpenAI GPT-5-Codex
/ru:news/2025-09-19/npm-shai-hulud-malware-attack
61%
news
Recommended

npmワーム出現、マジでヤバい - Shai-Huludが大暴れ中

GitHubトークン盗んで勝手に広がる

Oracle Cloud Infrastructure
/ja:news/2025-09-21/shai-hulud-npm-worm-attack
61%
tool
Recommended

Yarn Package Manager - npm's Faster Cousin

integrates with Yarn

Yarn
/tool/yarn/overview
61%
tool
Recommended

Yarn Workspaces - Monorepo Setup That Actually Works

Stop wrestling with multiple package.json files and start getting shit done.

Yarn Workspaces
/tool/yarn-workspaces/monorepo-setup-guide
61%
troubleshoot
Recommended

Fix Yarn Corepack "packageManager" Version Conflicts

Stop Yarn and Corepack from screwing each other over

Yarn Package Manager
/tool/troubleshoot/yarn-package-manager-error-troubleshooting/corepack-version-conflicts
61%
tool
Similar content

SolidJS Tooling: What Actually Works (And What's Total Garbage)

Stop pretending the ecosystem is mature - here's what you're really getting into

SolidJS
/tool/solidjs/ecosystem-tooling-guide
57%
howto
Recommended

Migrating CRA Tests from Jest to Vitest

alternative to Create React App

Create React App
/howto/migrate-cra-to-vite-nextjs-remix/testing-migration-guide
56%
tool
Recommended

Vite - Build Tool That Doesn't Make You Wait

Dev server that actually starts fast, unlike Webpack

Vite
/tool/vite/overview
56%
compare
Recommended

Vite vs Webpack vs Turbopack vs esbuild vs Rollup - Which Build Tool Won't Make You Hate Life

I've wasted too much time configuring build tools so you don't have to

Vite
/compare/vite/webpack/turbopack/esbuild/rollup/performance-comparison
56%
tool
Popular choice

jQuery - The Library That Won't Die

Explore jQuery's enduring legacy, its impact on web development, and the key changes in jQuery 4.0. Understand its relevance for new projects in 2025.

jQuery
/tool/jquery/overview
56%
tool
Popular choice

Hoppscotch - Open Source API Development Ecosystem

Fast API testing that won't crash every 20 minutes or eat half your RAM sending a GET request.

Hoppscotch
/tool/hoppscotch/overview
54%
tool
Popular choice

Stop Jira from Sucking: Performance Troubleshooting That Works

Frustrated with slow Jira Software? Learn step-by-step performance troubleshooting techniques to identify and fix common issues, optimize your instance, and boo

Jira Software
/tool/jira-software/performance-troubleshooting
51%
alternatives
Similar content

Fast React Alternatives That Don't Suck

Discover high-performance React alternatives like SolidJS that ditch the Virtual DOM for faster updates. Learn why React's performance can be a bottleneck and e

React
/alternatives/react/performance-critical-alternatives
49%
tool
Popular choice

Northflank - Deploy Stuff Without Kubernetes Nightmares

Discover Northflank, the deployment platform designed to simplify app hosting and development. Learn how it streamlines deployments, avoids Kubernetes complexit

Northflank
/tool/northflank/overview
49%
tool
Similar content

SolidJS 2.0: What's Actually Happening (Spoiler: It's Still Experimental)

The Real Status of Solid's Next Version - No Bullshit Timeline or False Promises

SolidJS
/tool/solidjs/solidjs-2-0-migration-guide
49%
tool
Popular choice

LM Studio MCP Integration - Connect Your Local AI to Real Tools

Turn your offline model into an actual assistant that can do shit

LM Studio
/tool/lm-studio/mcp-integration
47%

Recommendations combine user behavior, content similarity, research intelligence, and SEO optimization