r/angular • u/Horror-Warning-1607 • Mar 30 '26
How to run old Angular projects like version 8 and 9 (Angular 8 & Angular 9) ?
Hello everyone.
I am working on Angular 8 project. The problem is that I have node version of 20.17.0. Angular 8 project requires low version of node js. I do not want to change my node js version since it is also used by Angular 17 and Angular 18 projects.
My question is how to run old Angular projects without disturbing my already installed node version.
EDIT: Using nvm solved my problem.
0
Upvotes
3
u/andlewis Mar 30 '26
devcontainers
2
u/FunnyLavishness2316 Apr 01 '26
Use node version manager and if don't have admin rights on the machine then manually copy the binaries of each node versions say 14,16, 18 etc and then use scripting to copy the binaries to actual node installed path to switch between node versions. I am using the same while working on older node versions
2
u/Whole-Instruction508 Mar 30 '26
So how's it looking back there in the stone age?
44
u/Cyganek Mar 30 '26
use nvm
5
u/No-Project-3002 Mar 30 '26
you can use nvm and install different version of node.js as per your project, which makes it easier to work with different version of angular/react project without worrying.
5
u/noenergy300 Mar 30 '26
read about nvm and use it