Skip to content

Commit

Permalink
Merge pull request #84 from avantifellows/feature/node-engine
Browse files Browse the repository at this point in the history
Node V20
  • Loading branch information
Drish-xD authored Sep 16, 2024
2 parents b8bdc2f + ce82b49 commit 4638652
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/INSTALATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
## Prerequisites

- Node.js and npm (or yarn/pnpm) [Download](https://nodejs.org/en/download)

- Docker and Docker Compose [Download](https://docs.docker.com/get-docker/)
- Node --version: `>=20`
- Use [(Node Version Manager (nvm)](https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating) to manage the version of node.
- After installing `nvm` install v20 of node, that will install `node v20` along with supported `npm` version.
```bash
nvm install 20
```

## Setup Instructions

Expand All @@ -18,6 +22,7 @@

```bash
cd quiz-creator
nvm use 20
npm ci
```

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,8 @@
"tailwindcss": "^3.4.9",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"engines": {
"node": ">=20.0.0"
}
}

0 comments on commit 4638652

Please sign in to comment.