preview

📁 forever-efficient/pitfal-solutions-website 📅 Jan 26, 2026
21
总安装量
2
周安装量
#17237
全站排名
安装命令
npx skills add https://github.com/forever-efficient/pitfal-solutions-website --skill preview

Agent 安装分布

mcpjam 2
qwen-code 2
windsurf 2
crush 2
claude-code 2

Skill 文档

Start Preview Server

Start the Next.js development server for local preview.

Steps

  1. Check if dependencies are installed:

    [ -d "node_modules" ] || pnpm install
    
  2. Check if port 3000 is available:

    lsof -i :3000 | grep LISTEN
    
  3. Start development server:

    pnpm dev
    
  4. Report the URL: http://localhost:3000

If Port 3000 is Busy

Suggest alternative:

pnpm dev -- -p 3001

Or kill existing process (with user confirmation):

kill $(lsof -t -i:3000)
pnpm dev

Docker Alternative

If Docker is preferred:

docker compose up

Server will be available at http://localhost:3000