Closed
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
gulp test should run unit test.
What is the current behavior?
Error: The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.8.1 was found instead.
at new AngularCompilerProgram (material2/node_modules/@angular/compiler-cli/src/transformers/program.js:84:19)
at Object.createProgram (material2/node_modules/@angular/compiler-cli/src/transformers/program.js:687:12)
at Object.performCompilation (material2/node_modules/@angular/compiler-cli/src/perform_compile.js:170:22)
at main (material2/node_modules/@angular/compiler-cli/src/main.js:20:61)
at Object.<anonymous> (material2/node_modules/@angular/compiler-cli/src/main.js:122:24)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Failed to compile using /home/tomek/Javascript/Testy/angularMaterial2/material2/src/cdk/tsconfig-tests.json
[22:05:11] 'cdk:build:esm:tests' errored after 549 ms
[22:05:11] Error: Failed to compile using /home/tomek/Javascript/Testy/angularMaterial2/material2/src/cdk/tsconfig-tests.json
What are the steps to reproduce?
- npm install will update typescript to 2.8.1
- gulp test