Prerequisites
Before installing Paginator, ensure you have the following tools installed on your system:Node.js
Node.js
Angular CLI
Angular CLI
Recommended version: 19.1.8 or higherInstall globally via npm:Verify installation:
Git
Git
Installation Steps
Follow these steps to get Paginator running on your local machine:Clone the Repository
Clone the Paginator repository from GitHub:This will create a
Paginator directory with all the source code.Install Dependencies
Install all required npm packages:This will install:
- Angular 19.1.0 and related packages
- Bootstrap 5.3.7
- RxJS 7.8.0
- TypeScript 5.7.2
- Development dependencies (Karma, Jasmine, etc.)
The installation may take a few minutes depending on your internet connection.
Verify Installation
Verify that everything is installed correctly:You should see output showing Angular CLI version 19.1.8 and Angular version 19.1.0.
Project Structure
After installation, you’ll find the following structure:Available Scripts
Once installed, you can run these npm scripts:Common Issues and Troubleshooting
Port 4200 already in use
Port 4200 already in use
If port 4200 is already in use, you can specify a different port:
npm install fails
npm install fails
Try clearing the npm cache and reinstalling:
Angular CLI version mismatch
Angular CLI version mismatch
Ensure you have the correct Angular CLI version installed:
TypeScript errors
TypeScript errors
Make sure you’re using TypeScript 5.7.2 as specified in package.json: