From 826f89f862cabda27322145bc96db97f83e5dfa0 Mon Sep 17 00:00:00 2001 From: Josh Thomas Date: Thu, 23 Jun 2016 10:56:10 -0500 Subject: [PATCH] fix(ngc): correct dependencies for compiler-cli Update compiler-cli dependencies to include minimist and also increment tsc-wrapped to 0.2.0. There is signature mismatch between tsc-wrapped (v0.1.0) collector.js#getMetadata and compiler-cli reflector_host.js#getMetadataFor that caused an error anytime ngc was executed. The error received was as follows. `TypeError: Cannot read property 'getSymbolsInScope' of undefined` After forcing NPM to install @angular/tsc-wrapped@latest the error was resolved. Fixes #9540 --- modules/@angular/compiler-cli/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/@angular/compiler-cli/package.json b/modules/@angular/compiler-cli/package.json index f942242171..41228237ec 100644 --- a/modules/@angular/compiler-cli/package.json +++ b/modules/@angular/compiler-cli/package.json @@ -9,9 +9,10 @@ "ng-xi18n": "./src/extract_i18n.js" }, "dependencies": { - "@angular/tsc-wrapped": "^0.1.0", + "@angular/tsc-wrapped": "^0.2.0", "reflect-metadata": "^0.1.2", - "parse5": "1.3.2" + "parse5": "1.3.2", + "minimist": "^1.2.0" }, "peerDependencies": { "typescript": "^1.9.0-dev",