Quick Start
The fastest way to run the application is using the start script:ng serve and starts the Angular development server.
Development Server
Default Configuration
When you runnpm start, the application will:
Local Server
Start at
http://localhost:4200Live Reload
Automatically reload on file changes
Development Build
Use development configuration with source maps
Fast Compilation
Optimized for quick rebuild times
Development Build Features
The development configuration (angular.json) includes:
- Source Maps: Enabled for easier debugging
- No Optimization: Faster build times
- Vendor Chunk: Separate vendor bundle for faster rebuilds
- Named Chunks: Human-readable chunk names
- No Build Optimizer: Skipped for speed
Running on Different Platforms
Web Browser (Default)
iOS Simulator
To run on iOS, you’ll need Xcode installed on macOS.Android Emulator
To run on Android, you’ll need Android Studio installed.Advanced Running Options
Watch Mode
For continuous builds during development:ng build --watch --configuration development and rebuilds automatically on file changes.
Custom Port
To run on a different port:Production Configuration
To test with production configuration locally:Host Configuration
To access the dev server from other devices on your network:http://<your-ip>:4200 from other devices.
Live Reload with Capacitor
For live reload during native development:Troubleshooting
Port Already in Use
Port Already in Use
If port 4200 is already in use:Or find and kill the process using port 4200:
Build Errors After npm install
Build Errors After npm install
Clear the Angular cache and rebuild:
Capacitor Sync Issues
Capacitor Sync Issues
If native sync fails, try:
Next Steps
Building
Learn how to create production builds
Testing
Run tests to ensure code quality