Fixing some Angular errors

The sickxth version of Angular has a lot of annoying problems. I tried to gather some of my ways to solve them.

ERROR in The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.9.2 was found instead.

Actual problem - the Angular codebase cannot be compiled by the modern version of TypeScript. The cutting edge technology smells like legacy.

Solution: Rollback TypeScript (feels dumb, huh?)

npm install typescript@2.7.2

ERROR in node_modules/@angular/compiler-cli/src/transformers/program.d.ts(10,23): error TS2307: Cannot find module 'path'.

Actual problem: forgotten peer-dependency.

Solution: Install path.

npm install path --save-dev