我已将 Angular 应用程序从 8 更新到 9,在我运行应用程序更新后,它给了我一个错误
ERROR in @angular-redux/form/angular-redux-form.ts(3,32): Error during template compile of 'composeReducers'
Function expressions are not supported in decorators
Consider changing the function expression into an exported function.
在编译部分 enableIvy 为 false
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"enableIvy": false
}
这是包裹
"@angular-redux/form": "^10.0.0",
"@angular-redux/router": "^10.0.0",
"@angular-redux/store": "^10.0.0",
"@angular/animations": "~9.1.12",
"@angular/common": "~9.1.12",
"@angular/compiler": "~9.1.12",
"@angular/core": "~9.1.12",
"@angular/forms": "~9.1.12",