create-solid: SolidJS Project Setup Tool - AI Summary
Configuration
Installation & Execution
# CORRECT: Use latest version
npm create solid@latest
pnpm create solid
yarn create solid
deno init --npm solid
# WRONG: Global installation causes version conflicts
npm install -g solid-cli # DON'T DO THIS
Critical Failure Point: Installing globally causes 3-hour debugging sessions due to version mismatches (0.2.1 vs 0.3.4+ have different template structures)
Template Selection Decision Matrix
Template | Use Case | Overhead | Reality |
---|---|---|---|
ts |
RECOMMENDED - All projects | Minimal | Just works, stop overthinking |
ts-vitest |
Testing upfront | +20min setup, +3hrs debugging | Vitest 1.2.x has signal cleanup issues |
ts-uvu |
Alternative testing | Unknown | Weird syntax, skip |
ts-unocss |
CSS framework | Size optimized | Documentation unusable after 30min |
ts-tailwindcss |
CSS framework | +800KB bundle | Everyone knows classes |
Decision Criteria: Choose ts
unless you need specific testing framework. Time investment on alternatives rarely pays off.
Resource Requirements
Time Investments
- Setup Success: 30 seconds from command to coding
- Setup with Failures: 30min to 3 hours debugging network/permissions
- Template Decision Time: Entire Tuesday wasted comparing options
- Testing Setup Later: 20min saved upfront, 3hrs debugging async rendering
Expertise Requirements
- Minimum: Basic npm/package manager knowledge
- Troubleshooting: Windows administration, network debugging, npm cache management
- Production Deployment: Server configuration for SSR, static hosting for SPA
Network/Environment Dependencies
- Bandwidth: Template downloads fail 40% of the time on poor connections
- Corporate Networks: Firewall blocks registry access (ENOTFOUND errors)
- Windows Compatibility: Username spaces break extraction (EPERM errors)
Critical Warnings
Breaking Points and Failure Modes
High-Frequency Failures (30%+ occurrence rate)
Network Timeouts:
ECONNRESET registry.npmjs.org:443
- Cause: Poor network or corporate firewall
- Solution: Ctrl+C, retry (usually works second time)
- Prevention: Use phone hotspot on corporate networks
Windows Path Issues:
EPERM: operation not permitted
- Cause: Spaces in Windows username
- Solution: Run PowerShell as admin OR use WSL
- Impact: Complete setup failure
npm Cache Corruption:
EINTEGRITY sha512-... integrity checksum failed
- Solution: Delete
~/.npm
andnode_modules/.cache
- Frequency: Random, but delete always fixes
- Time Cost: 30 seconds to resolve
- Solution: Delete
Production Deployment Gotchas
- Environment Variables:
ReferenceError: process is not defined
in SSR- Fix: Wrap in
if (typeof window === 'undefined')
- Fix: Wrap in
- Asset Paths: Break on subdirectories (GitHub Pages)
- Fix: Set
base: '/my-app/'
in vite.config.ts
- Fix: Set
- Module Resolution:
Module not found: Can't resolve '@solidjs/start/server'
- Cause: Dependencies in devDependencies instead of dependencies
- Impact: 4-hour debugging sessions at 2am
SolidStart vs Regular Solid Decision Criteria
Factor | Regular Solid | SolidStart |
---|---|---|
Use Case | SPAs | SSR/Static Generation |
Deployment Complexity | Simple (static files anywhere) | Complex (needs real servers) |
Failure Rate | Low | High (creative ways at 2am) |
Debug Difficulty | Manageable | document is not defined with zero context |
Version Stability | Stable | 1.0.8 has dynamic import issues, downgrade to 1.0.6 |
Technology Comparisons
Framework Trade-offs
Framework | Job Market | Bundle Size | Support Quality | Hidden Costs |
---|---|---|---|---|
SolidJS | Small (betting on future) | 120KB start | Discord, 12k members, core team responsive | Build ecosystem from scratch |
React | Everywhere | 2.5MB minimum | Stack Overflow has everything | Massive bundles, performance issues |
Next.js | High paying | "Depends" (usually 8MB) | Good docs | Configuration complexity |
Vue | Agencies, legacy | Reasonable | Okay docs | Stagnant ecosystem |
Angular | Enterprise | Enormous | Pray when broken | Corporate nightmare |
Node Version Requirements
- Required: Node 18+
- Might Work: Node 16
- Will Fail: Node 14
- Bun Issues: 40% registry timeout rate
Implementation Reality
Development Server Performance
- Cold Start: 2 seconds
- Hot Reload: Instant (until HMR breaks with
[vite] hmr update /src/App.tsx failed
) - Build Times: 8 seconds small projects, 45 seconds large projects
- Production Build Issues: Tree-shaking breaks dynamic imports
Common Implementation Paths
- SPA Route: Regular Solid → Deploy static files → Works everywhere
- SSR Route: SolidStart → Complex deployment → Random failures
- Migration Route: Manual
solid-js
install → 2 hours copying config → Start fresh instead
Testing Integration Reality
- Upfront Testing: 20min setup savings, 3hrs debugging signal cleanup
- Later Testing:
npm install -D vitest @vitest/ui
+ hours of configuration - Component Testing:
TypeError: Cannot read properties of undefined (reading 'signal')
- cleanup doesn't dispose signals properly
Decision Support Information
Worth It Despite X Assessments
- Performance: Worth bundle size optimization despite small ecosystem
- Learning Curve: Worth initial investment despite fewer jobs
- Community: Worth Discord dependency despite smaller size than Stack Overflow
Prerequisites Not in Documentation
- Windows: WSL or admin PowerShell for reliability
- Corporate: Phone hotspot for registry access
- Deployment: Real server knowledge for SolidStart (static hosting insufficient)
- Production: Manual optimization required to hit benchmark performance
Migration Pain Points
- From React: Completely different reactivity model, rebuild mental models
- To Production: Static works everywhere, SolidStart needs server expertise
- Template Changes: v0.3.0 removed JavaScript templates, TypeScript-only
Resource Links by Use Case
Immediate Problem Solving
- SolidJS Discord: 1-hour response time for create-solid failures
- solid-cli Issues: Check before posting, has cache/permission solutions
Development Setup
- SolidJS Playground: Test signal behavior without project setup
- Templates Repository: Reference for tsconfig.json mismatches
Production Deployment
- SolidStart Docs: Working deployment examples (improved 2025)
- Vite Documentation: Required for build customization
Debugging Tools
- Solid DevTools: Shows signal updates, more useful than React DevTools
- StackBlitz Templates: Cloud reproduction for Discord help requests
Useful Links for Further Investigation
Essential create-solid Resources (What Actually Helps)
Link | Description |
---|---|
SolidJS Quick Start Guide | Docs are actually good - they have real troubleshooting info instead of just API references. Saved me when create-solid hung for the third time. |
SolidJS Community CLI Repository | Check the issues before posting. I've found solutions to weird npm cache errors and Windows permission problems here. |
SolidJS Official Website | Performance benchmarks look impressive. Your app won't hit those numbers unless you optimize, but the baseline is still fast. |
SolidJS Interactive Playground | Good for testing signal behavior without setting up a project. I use this to prototype weird reactive patterns before implementing them. |
SolidJS Templates Repository | The actual template source code. I've referenced this when the generated tsconfig.json didn't match what I expected. |
SolidStart Documentation | SolidStart docs got way better in 2025 - they actually have working deployment examples now. |
SolidJS Testing Library | Testing utilities. Docs are thin but the source code is clean. Took me 2 hours to figure out async component testing. |
SolidJS DevTools | Browser extension for debugging signals. Actually shows you what's updating and why - way more useful than React DevTools. |
SolidJS Discord Server | Around 12k members, core team responds daily. Go here when create-solid breaks. I've gotten help within an hour most times. |
SolidJS GitHub Discussions | More formal than Discord. Good for feature requests or longer technical discussions. |
Awesome SolidJS | Community list of SolidJS resources. Half the links are outdated, but when you find a good one it's really helpful. |
SolidJS Stack Overflow Tag | Small but high-quality community. Check here first - I've found answers to template configuration problems here. |
Vite Documentation | All templates use Vite. I've needed this when customizing build configs or adding new file types. The plugin ecosystem is huge. |
SolidJS Media Assets | Official logos and brand assets. Used these when making slides to convince my team to try SolidJS. |
TypeScript SolidJS Handbook | TypeScript JSX config details. Needed this once when the generated tsconfig.json had conflicts with existing project settings. |
StackBlitz SolidJS Templates | Cloud IDE with all templates. Slower than local dev but good for sharing reproduction cases when asking for help. |
CodeSandbox SolidJS Templates | Another cloud IDE option. I use this for quick prototypes and sharing examples in Discord when debugging. |
Degit with SolidJS Templates | Clone templates directly without interactive prompts. Good for CI/CD or when you know exactly what you want. |
Related Tools & Recommendations
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.
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 死亡宣告
2025年2月14日で終了。React開発どうする?
Bun's Peer Dependency Hell - What Actually Works
When Bun breaks your ESLint setup and you want to throw your laptop out the window
NPM снова в говне - червь "Shai-Hulud" жрет пакеты как ебанутый
Очередной кошмар для JS-разработчиков: самовоспроизводящийся малварь ползет по NPM как песчаный червь из Дюны
npmワーム出現、マジでヤバい - Shai-Huludが大暴れ中
GitHubトークン盗んで勝手に広がる
Yarn Package Manager - npm's Faster Cousin
integrates with Yarn
Yarn Workspaces - Monorepo Setup That Actually Works
Stop wrestling with multiple package.json files and start getting shit done.
Fix Yarn Corepack "packageManager" Version Conflicts
Stop Yarn and Corepack from screwing each other over
SolidJS Tooling: What Actually Works (And What's Total Garbage)
Stop pretending the ecosystem is mature - here's what you're really getting into
Migrating CRA Tests from Jest to Vitest
alternative to Create React App
Vite - Build Tool That Doesn't Make You Wait
Dev server that actually starts fast, unlike Webpack
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
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.
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.
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
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
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
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
LM Studio MCP Integration - Connect Your Local AI to Real Tools
Turn your offline model into an actual assistant that can do shit
Recommendations combine user behavior, content similarity, research intelligence, and SEO optimization