Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 1.35 KB

File metadata and controls

74 lines (56 loc) · 1.35 KB

Developer Setup Guide

This guide will help you set up your development environment for this project.

Prerequisites

1. Install Node.js

macOS and Linux

We recommend using NVM (Node Version Manager):

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

Then install and use Node.js 22:

nvm install 22
nvm use 22

Windows

Download and install Node.js 22 directly from the official Node.js website

2. Verify Installation

node --version  # Should show v22.x.x
npm --version   # Should show 10.x.x

Project Setup

1. Clone the Repository

git clone [repository-url]
cd arcao-front-end-template

2. Install Dependencies

npm install

3. Run the Project Locally

npm run dev

The development server will start and the application will be available at http://localhost:5173

Additional Commands

npm run build    # Build the project for production
npm run preview  # Preview the production build locally

Troubleshooting

If you encounter any issues:

  1. Make sure you're using Node.js 22:

    node --version
  2. Try removing and reinstalling dependencies:

    rm -rf node_modules
    npm install
  3. Clear npm cache if needed:

    npm cache clean --force