Installation
This guide covers the complete installation and setup process for the Product Builders landing page.System requirements
Ensure your system meets these requirements before proceeding:
- Node.js 20.0.0 or higher
- npm 10.0.0 or higher (or yarn/pnpm equivalent)
- Git for version control
- Modern web browser (Chrome, Firefox, Safari, or Edge)
Clone the repository
First, clone the repository to your local machine:Install dependencies
The project uses several key dependencies. Install them using your preferred package manager:Core dependencies
The landing page includes these core dependencies:Framework and UI
- next
15.5.9- React framework with App Router - react
19.2.1- UI library - react-dom
19.2.1- React DOM renderer - typescript
^5- Type-safe JavaScript
Styling
- tailwindcss
^3.4.1- Utility-first CSS framework - tailwindcss-animate
^1.0.7- Animation utilities - tailwind-merge
^3.0.1- Merge Tailwind classes - class-variance-authority
^0.7.1- Component variants
UI components (shadcn/ui)
- @radix-ui/react-accordion
^1.2.3 - @radix-ui/react-dialog
^1.1.6 - @radix-ui/react-dropdown-menu
^2.1.6 - @radix-ui/react-select
^2.1.6 - @radix-ui/react-toast
^1.2.6 - lucide-react
^0.475.0- Icon library
Form handling
- react-hook-form
^7.54.2- Form state management - @hookform/resolvers
^4.1.3- Form validation resolvers - zod
^3.24.2- Schema validation
Email integration
- resend
^3.5.0- Email API client
Other utilities
- firebase
^11.9.1- Firebase SDK - date-fns
^3.6.0- Date utilities - embla-carousel-react
^8.6.0- Carousel component
Development dependencies
- @types/node
^20- Node.js type definitions - @types/react
^19.2.1- React type definitions - @types/react-dom
^19.2.1- React DOM type definitions - @netlify/plugin-nextjs
^5.5.0- Netlify deployment plugin - postcss
^8- CSS processor
Environment setup
Add Resend API key
Sign up for a free Resend account at resend.com and get your API key.Add it to
.env.local:.env.local
Verify installation
Run these commands to verify everything is installed correctly:Check TypeScript
tsc --noEmit to check for type errors without building.
Check linting
Start development server
Build for production
To create a production build:NODE_ENV=production next build and outputs:
Project configuration files
The installation includes these configuration files:next.config.ts
Configures Next.js with TypeScript and image optimization:
next.config.ts
tailwind.config.ts
Configures Tailwind CSS with custom colors and animations. See Theming for details.
tsconfig.json
TypeScript configuration with path aliases:
tsconfig.json
components.json
Shadcn/ui configuration:
components.json
Troubleshooting
Port already in use
If port 9002 is already in use, modifypackage.json:
package.json
Module not found errors
Deletenode_modules and reinstall:
TypeScript errors
The project ignores TypeScript errors during builds. To see all errors:Image loading issues
Ensure remote image hostnames are configured innext.config.ts under images.remotePatterns.
Next steps
Quickstart guide
Follow the quickstart to run the landing page
Customize theming
Modify colors and styling
Configure i18n
Set up translations
Deploy
Deploy to production