No-zorro webpack prod packing error report

error is reported when typing prod package using webpack, but it is normal when typing dev packet. The error message is as follows:

ERROR in node_modules\ng-zorro-antd\antd.d.ts.p.html(1,1442): : Expected 1 arguments, but got 3.
[INFO] node_modules\ng-zorro-antd\antd.d.ts.bh.html(1,665): : Argument of type "QueryList<NzOptionComponent>" is not assignable to parameter of type "NzOptionComponent[]".
[INFO]   Property "includes" is missing in type "QueryList<NzOptionComponent>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.bh.html(1,934): : Argument of type "QueryList<NzOptionGroupComponent>" is not assignable to parameter of type "NzOptionGroupComponent[]".
[INFO]   Property "includes" is missing in type "QueryList<NzOptionGroupComponent>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.cd.html(1,188): : Property "activeIndex" is private and only accessible within class "NzMentionComponent".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.eg.html(1,938): : Expected 0 arguments, but got 1.
[INFO] node_modules\ng-zorro-antd\antd.d.ts.ew.html(1,250): : Property "isTitleString" is private and only accessible within class "NzCardMetaComponent".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.ew.html(1,505): : Property "isDescriptionString" is private and only accessible within class "NzCardMetaComponent".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gs.html(1,1597): : Argument of type "CompatibleValue" is not assignable to parameter of type "CandyDate[]".
[INFO]   Type "CandyDate" is not assignable to type "CandyDate[]".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,864): : Property "nzAddOn" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,750): : Property "nzHideDisabledOptions" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,810): : Property "nzDefaultOpenValue" does not exist on type "object".
[ERROR] error Command failed with exit code 2.
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,598): : Property "nzDisabledHours" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,646): : Property "nzDisabledMinutes" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,698): : Property "nzDisabledSeconds" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,444): : Property "nzFormat" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,476): : Property "nzHourStep" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,514): : Property "nzMinuteStep" does not exist on type "object".
[ERROR] error Command failed with exit code 1.
[INFO] node_modules\ng-zorro-antd\antd.d.ts.gm.html(1,556): : Property "nzSecondStep" does not exist on type "object".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.hi.html(1,582): : Property "span" does not exist on type "NzListGrid".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,754): : Expected 0 arguments, but got 1.
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,754): : Property "onClickCloseBtn" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,1460): : Property "isTemplateRef" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,1558): : Property "isNonEmptyString" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,1841): : Property "isTemplateRef" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,1943): : Property "isNonEmptyString" is private and only accessible within class "NzModalComponent<T, R>".
[ERROR] error Command failed with exit code 1.
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2647): : Property "getButtonCallableProp" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2597): : Property "getButtonCallableProp" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2702): : Property "getButtonCallableProp" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2565): : Property "onButtonClick" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2976): : Property "onClickOkCancel" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,3132): : Property "onClickOkCancel" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2266): : Property "isTemplateRef" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2366): : Property "isNonEmptyString" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,2473): : Property "isModalButtons" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,1776): : Property "isComponent" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,4000): : Property "isTemplateRef" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,4102): : Property "isNonEmptyString" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,4405): : Property "onClickOkCancel" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,4580): : Property "onClickOkCancel" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,3642): : Property "isTemplateRef" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,3740): : Property "isNonEmptyString" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.iv.html(1,3935): : Property "isComponent" is private and only accessible within class "NzModalComponent<T, R>".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.jd.html(1,249): : Property "nzShowSearch" does not exist on type "NzCascaderComponent".
[INFO] node_modules\ng-zorro-antd\antd.d.ts.jj.html(1,240): : Expected 1 arguments, but got 2.
Jun.07,2021

this wrong message is written clearly. It would be better to correct it one by one

.

packing is easy to use in dev environment because tsconfig.json does not enable some strict verification configuration, but prod will be enabled.


for the time being, strict parity is shielded. In the tsconfig-aot.json file,

is added.
"fullTemplateTypeCheck": true,

comment out


has it been solved? I had the same problem, using jhipster. If solved, please let me know


the same question? Solved the code?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e477c5-4c342.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e477c5-4c342.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?