Repository navigation
Closed
Description
I'm submitting a ... (check one with "x")
[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
Hi,
I followed the i18n documentation for its implementation within my application but the ng-xi18n throw the exception below :
I am having i18n attribute in places like :
<span>
<label i18n>Domain</label>
<input [(ngModel)]="account.domain" type="text" name="domain" class="form-control" i18n>
</span>
$ node_modules/.bin/ng-xi18n -p src/tsconfig.json --i18nFormat=xmb
Error: parameters received {"filePath":"./node_modules/@angular/common/src/location/location.d.ts","name":"Location"} which is not a StaticSymbol
at StaticReflector.parameters (.\node_modules\@angular\compiler-cli\src\static_reflector.js:92:19)
at CompileMetadataResolver.getDependenciesMetadata (.\node_modules\@angular\compiler\bundles\compiler.umd.js:14190:56)
at CompileMetadataResolver.getTypeMetadata (.\node_modules\@angular\compiler\bundles\compiler.umd.js:14155:28)
at .\node_modules\@angular\compiler\bundles\compiler.umd.js:14298:43
at Array.forEach (native)
at CompileMetadataResolver.getProvidersMetadata (.\node_modules\@angular\compiler\bundles\compiler.umd.js:14278:21)
at .\node_modules\@angular\compiler\bundles\compiler.umd.js:14285:43
at Array.forEach (native)
at CompileMetadataResolver.getProvidersMetadata (.\node_modules\@angular\compiler\bundles\compiler.umd.js:14278:21)
at CompileMetadataResolver.getNgModuleMetadata (.\node_modules\@angular\compiler\bundles\compiler.umd.js:14037:60)
Extraction failed
Please tell us about your environment:
Windows 10 - win32 x64
Sublime Text 3
npm 3.10.3
Angular-cli: 1.0.0-beta.17
Webpack 2.1.0-beta.25
- Angular version: 2.0.X
- Language: [ TypeScript Version 2.0.3 ]
- Node (for AoT issues):
node --version= v6.5.0
Metadata
Metadata
Assignees
Labels
No labels
Activity
paumayr commentedon Oct 14, 2016
this issue was fixed for me by upgrading to Angular 2.1.0, due to #12158. Also be sure that @angular/compiler-cli is updated to 2.1.0 (took me a bit to realize it was not updated, because it was at 0.6. before).
angular-automatic-lock-bot commentedon Sep 10, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.