Installation
This guide provides detailed instructions for installing and setting up the ItzHypeR Portfolio on your local machine.Prerequisites
Before you begin, ensure you have the following installed on your system:Required Software
Node.js
Version 18 or higher requiredDownload from nodejs.org
npm
Version 9 or higher requiredIncluded with Node.js installation
Verify Your Installation
Check that you have the correct versions installed:Optional but Recommended
- Git - For cloning the repository and version control
- VS Code or Cursor - Recommended code editors with excellent React support
- React Developer Tools - Browser extension for debugging
Step-by-Step Installation
1. Install Node.js and npm
If you don’t have Node.js installed:Download Node.js
Visit nodejs.org and download the LTS version for your operating system.
Run the Installer
Run the downloaded installer and follow the prompts. npm is included automatically with Node.js.
2. Clone the Repository
You have two options for obtaining the source code:Option A: Clone via HTTPS (Recommended)
Option B: Clone via SSH
Option C: Download ZIP
- Visit the GitHub repository
- Click the green “Code” button
- Select “Download ZIP”
- Extract the ZIP file
- Navigate to the extracted folder in your terminal
3. Install Project Dependencies
Once inside the project directory, install all required dependencies:package.json:
Core Dependencies
Development Dependencies
The installation process typically takes 30-90 seconds depending on your internet connection and system performance.
4. Verify the Installation
After installation completes, verify everything is set up correctly:5. Start the Development Server
Launch the development server:6. Open in Browser
Navigate to the local URL in your browser:Environment Setup
IDE Configuration
For the best development experience, we recommend configuring your IDE:VS Code
Install these recommended extensions:- ES7+ React/Redux/React-Native snippets - Code snippets
- ESLint - Code linting
- Prettier - Code formatting
- Auto Rename Tag - Automatically rename paired HTML/JSX tags
- Path Intellisense - Autocomplete file paths
.vscode/settings.json file:
Cursor
Cursor comes with excellent React support out of the box. Enable:- ESLint integration
- Auto-import suggestions
- JSX syntax highlighting
Git Configuration (Optional)
If you plan to maintain your own version:Troubleshooting
Common Issues and Solutions
Node version is too old
Node version is too old
Problem: Error message about incompatible Node.js versionSolution:
npm install fails with EACCES error
npm install fails with EACCES error
Problem: Permission denied errors during installationSolution:
Port 5173 already in use
Port 5173 already in use
Problem: Dev server can’t start because port is occupiedSolution:
Module not found errors
Module not found errors
Problem: Import errors or missing module errorsSolution:
Vite HMR not working
Vite HMR not working
Problem: Changes not reflecting in the browserSolution:
- Hard refresh the browser (Ctrl+Shift+R or Cmd+Shift+R)
- Check browser console for errors
- Restart the dev server
- Check that you’re editing files inside the
src/directory
ESLint errors on startup
ESLint errors on startup
Problem: ESLint configuration errorsSolution:
System-Specific Issues
Windows
macOS
If you encounter certificate errors:Linux
If you have permission issues:Next Steps
Now that you have the portfolio installed and running:Quick Start
Jump right in with the quick start guide
Project Structure
Understand the codebase organization
Customization
Customize the portfolio for your needs
Build & Deploy
Build and deploy to production
Additional Resources
- Vite Documentation - Learn about the build tool
- React Documentation - Official React docs
- React Router - Client-side routing
- EmailJS - Email service for contact forms
Having trouble? Make sure you’ve completed all prerequisite steps and your Node.js version is 18 or higher. Check the troubleshooting section above for common issues.