🎯

preview

🎯Skill

from forever-efficient/pitfal-solutions-website

VibeIndex|
What it does

Launches a local Next.js development server for previewing the site, checking dependencies and port availability before starting.

πŸ“¦

Part of

forever-efficient/pitfal-solutions-website(27 items)

preview

Installation

pnpmRun with pnpm
pnpm dev
pnpmRun with pnpm
pnpm dev -- -p 3001
DockerRun with Docker
docker compose up
πŸ“– Extracted from docs: forever-efficient/pitfal-solutions-website
2Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Start local development server for previewing the site.

Overview

# Start Preview Server

Start the Next.js development server for local preview.

Steps

  1. Check if dependencies are installed:

```bash

[ -d "node_modules" ] || pnpm install

```

  1. Check if port 3000 is available:

```bash

lsof -i :3000 | grep LISTEN

```

  1. Start development server:

```bash

pnpm dev

```

  1. Report the URL: http://localhost:3000

If Port 3000 is Busy

Suggest alternative:

```bash

pnpm dev -- -p 3001

```

Or kill existing process (with user confirmation):

```bash

kill $(lsof -t -i:3000)

pnpm dev

```

Docker Alternative

If Docker is preferred:

```bash

docker compose up

```

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

More from this repository10