错误信息:
@angular/compiler-cli@5.2.11 requires typescript@'>=2.4.2 <2.7.0' but 2.4.0 was found instead.
Using this version can result in undefined behaviour and difficult to debug problems.
Please run the following command to install a compatible version of TypeScript.
npm install typescript@'>=2.4.2 <2.7.0'
To disable this warning run "ng set warnings.typescriptMismatch=false".
解决办法:
npm install typescript@2.4.2