I extracted sample template code from this tutorial and did below two steps to get started -
npm install // worked fine and created node_modules folder
You can temporarily use the --noStrictGenericChecks flag to get around this in TypeScript 2.4.
This is --noStrictGenericChecks on the command line, or just "noStrictGenericChecks": true in the "compilerOptions" field in tsconfig.json.
Keep in mind, RxJS 6 will have this corrected.
See this similar question: How do I get around this error in RxJS 5.x in TypeScript 2.4?