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:
parent
c43aec2182
commit
826f89f862
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue