Angular7 两种语言,一种正常,一种有错误

Angular7 两种语言,一种正常,一种有错误,angular7,angular-i18n,Angular7,Angular I18n,我的package.json的脚本部分有两行几乎相同的代码: "build-i18n:de": "ng build --output-path=../m_access/dist/de --aot --prod --base-href /de/ --i18n-file=src/locale/messages.de.xlf --i18n-format=xlf --i18n-locale=de", "build-i18n:en": "ng build --output-path=../m_access

我的package.json的脚本部分有两行几乎相同的代码:

"build-i18n:de": "ng build --output-path=../m_access/dist/de --aot --prod --base-href /de/ --i18n-file=src/locale/messages.de.xlf --i18n-format=xlf --i18n-locale=de",
"build-i18n:en": "ng build --output-path=../m_access/dist/en --aot --prod --base-href /en/ --i18n-file=src/locale/messages.en.xlf --i18n-format=xlf --i18n-locale=en",
npm运行build-i18n
成功,德国的
npm运行build-i18n:de
失败,错误消息为
无法读取null的属性“start”中出现错误

如何找到这样一个错误,在一种语言中是可以的,但在另一种语言中是不可以的

编辑-1

angular-version:
Angular CLI: 7.1.3
Node: 8.11.3
OS: win32 x64
Angular: 7.1.3
... cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.11.3
@angular-devkit/build-angular     0.11.3
@angular-devkit/build-optimizer   0.11.3
@angular-devkit/build-webpack     0.11.3
@angular-devkit/core              7.1.3
@angular-devkit/schematics        7.1.3
@angular/animations               7.1.4
@angular/cdk                      7.2.0
@angular/material                 7.2.0
@ngtools/webpack                  7.1.3
@schematics/angular               7.1.3
@schematics/update                0.11.3
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.23.1

$ npm --version
6.5.0
$ node --version
v8.11.3

我找到了此问题的根本原因,它是target的结尾部分缺少/中的一个:

<target>Password<target>
密码
一定是

<target>Password</target>
密码
希望这可以帮助其他类似的问题