Angular 12 Node.js & TypeScript Requirements
Angular 12 needs Node.js ^12.14.0 || ^14.15.0 and TypeScript >=4.2.3 <4.4.0 on its latest release. Enter your versions to check them.
Your project
Find it with ng version
Find it with node -v
Find it with npx tsc -v
Find it with npm ls rxjs
Angular 12.2.x requirements
No longer supported: no fixes or security patches. Plan an upgrade.
| Needs | Supported range | Recommended |
|---|---|---|
| Node.js | ^12.14.0 || ^14.15.0 | Node 14 LTS (14.15.0+) |
| TypeScript | >=4.2.3 <4.4.0 | TypeScript 4.3 |
| RxJS | ^6.5.3 || ^7.0.0 | RxJS ^7.0.0 |
Every Node.js line that Angular 12.2.x supports has reached end of life (Node 14 ended 2023-04-30). Upgrading Angular is the only way back to a supported Node.js.
14"engines": {
"node": "^12.14.0 || ^14.15.0"
}npm install --save-dev typescript@~4.3.0
npm install rxjs@^7.0.0Moving up? Angular 12 → 13 upgrade plan · All Angular 12 requirements
Angular 12 Version Requirements
Angular 12 supports Node.js ^12.14.0 || ^14.15.0, TypeScript ~4.2.3 (12.0) to >=4.2.3 <4.4.0 (latest 12.x), and RxJS ^6.5.3 || ^7.0.0. For a new setup, use Node 14 and TypeScript 4.3. Note that every Node.js line Angular 12 supports has reached end of life (Node 14 ended 2023-04-30), so upgrading Angular is the only way to a supported Node.js.
| Angular | Node.js | TypeScript | RxJS | Support |
|---|---|---|---|---|
| 12.2.x | ^12.14.0 || ^14.15.0 | >=4.2.3 <4.4.0 | ^6.5.3 || ^7.0.0 | End of life |
| 12.1.x | ^12.14.0 || ^14.15.0 | >=4.2.3 <4.4.0 | ^6.5.3 | End of life |
| 12.0.x | ^12.14.0 || ^14.15.0 | ~4.2.3 | ^6.5.3 | End of life |
Frequently Asked Questions
- Which Node.js version does Angular 12 need?
- Angular 12 supports Node.js ^12.14.0 || ^14.15.0. Use Node 14 (14.15.0 or newer).
- Which TypeScript version does Angular 12 need?
- Angular 12 needs TypeScript ~4.2.3 (12.0) to >=4.2.3 <4.4.0 (latest 12.x). On the latest 12.x release, install TypeScript 4.3.
- Is Angular 12 still supported?
- No. Angular 12 is past its long-term support window and no longer receives fixes or security patches. Angular 22 is the current version.
Related
Sources
Checked against Angular's official compatibility table and support schedule. Last reviewed .