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
This commit is contained in:
Josh Thomas 2016-06-23 10:56:10 -05:00 committed by Alex Eagle
parent c43aec2182
commit 826f89f862
1 changed files with 3 additions and 2 deletions

View File

@ -9,9 +9,10 @@
"ng-xi18n": "./src/extract_i18n.js" "ng-xi18n": "./src/extract_i18n.js"
}, },
"dependencies": { "dependencies": {
"@angular/tsc-wrapped": "^0.1.0", "@angular/tsc-wrapped": "^0.2.0",
"reflect-metadata": "^0.1.2", "reflect-metadata": "^0.1.2",
"parse5": "1.3.2" "parse5": "1.3.2",
"minimist": "^1.2.0"
}, },
"peerDependencies": { "peerDependencies": {
"typescript": "^1.9.0-dev", "typescript": "^1.9.0-dev",