Currently viewing the AI version
Switch to human version

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)

  1. 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
  2. Windows Path Issues: EPERM: operation not permitted

    • Cause: Spaces in Windows username
    • Solution: Run PowerShell as admin OR use WSL
    • Impact: Complete setup failure
  3. npm Cache Corruption: EINTEGRITY sha512-... integrity checksum failed

    • Solution: Delete ~/.npm and node_modules/.cache
    • Frequency: Random, but delete always fixes
    • Time Cost: 30 seconds to resolve

Production Deployment Gotchas

  • Environment Variables: ReferenceError: process is not defined in SSR
    • Fix: Wrap in if (typeof window === 'undefined')
  • Asset Paths: Break on subdirectories (GitHub Pages)
    • Fix: Set base: '/my-app/' in vite.config.ts
  • 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

  1. SPA Route: Regular Solid → Deploy static files → Works everywhere
  2. SSR Route: SolidStart → Complex deployment → Random failures
  3. 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

Development Setup

Production Deployment

Debugging Tools

Useful Links for Further Investigation

Essential create-solid Resources (What Actually Helps)

LinkDescription
SolidJS Quick Start GuideDocs 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 RepositoryCheck the issues before posting. I've found solutions to weird npm cache errors and Windows permission problems here.
SolidJS Official WebsitePerformance benchmarks look impressive. Your app won't hit those numbers unless you optimize, but the baseline is still fast.
SolidJS Interactive PlaygroundGood for testing signal behavior without setting up a project. I use this to prototype weird reactive patterns before implementing them.
SolidJS Templates RepositoryThe actual template source code. I've referenced this when the generated tsconfig.json didn't match what I expected.
SolidStart DocumentationSolidStart docs got way better in 2025 - they actually have working deployment examples now.
SolidJS Testing LibraryTesting utilities. Docs are thin but the source code is clean. Took me 2 hours to figure out async component testing.
SolidJS DevToolsBrowser extension for debugging signals. Actually shows you what's updating and why - way more useful than React DevTools.
SolidJS Discord ServerAround 12k members, core team responds daily. Go here when create-solid breaks. I've gotten help within an hour most times.
SolidJS GitHub DiscussionsMore formal than Discord. Good for feature requests or longer technical discussions.
Awesome SolidJSCommunity list of SolidJS resources. Half the links are outdated, but when you find a good one it's really helpful.
SolidJS Stack Overflow TagSmall but high-quality community. Check here first - I've found answers to template configuration problems here.
Vite DocumentationAll templates use Vite. I've needed this when customizing build configs or adding new file types. The plugin ecosystem is huge.
SolidJS Media AssetsOfficial logos and brand assets. Used these when making slides to convince my team to try SolidJS.
TypeScript SolidJS HandbookTypeScript JSX config details. Needed this once when the generated tsconfig.json had conflicts with existing project settings.
StackBlitz SolidJS TemplatesCloud IDE with all templates. Slower than local dev but good for sharing reproduction cases when asking for help.
CodeSandbox SolidJS TemplatesAnother cloud IDE option. I use this for quick prototypes and sharing examples in Discord when debugging.
Degit with SolidJS TemplatesClone templates directly without interactive prompts. Good for CI/CD or when you know exactly what you want.

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