Recently I set up my first project in Angular2 on Ubuntu with few simple steps:
Prep:
apt-get install nodejs
npm install -g typescript
npm install -g angular-cli
Start project
ng new app-name
cd app-name
ng serve
That pretty much worked for me. I was learning the Angular, developing the app and pushing my code to github. During that I installed two more dependencies. Then I reinstalled my whole computer and cloned my code from github and here is where problems started. After preparing environment again lots of dependencies are missing, deprecated or are missing even though they are installed on my machine.
After two days of googling I'm with not working project.
Is there a way of maintaining project and it's dependencies' list like for example virtual env with Python? What are the good practices to keep project in order, store the informations about dependencies, just keep everything clear?