我目前的项目是使用角/ngrx 7,我计划升级到最新的版本8。
我的项目是一个带有演示应用程序的角库,它是角域的典型样式。
为了升级我的项目,我在网上发布了一些关于相关主题的帖子:
升级角
ng update @angular/cli @angular/core --force
这一步我必须添加--force
参数来强制升级。
升级Ngrx
ng update @ngrx/store
在这个步骤中,我得到了许多类似于下面的警告消息:
NgRx 8 Migration: Unable to run the schematics to rename \`META_REDUCERS\` to \`USER_PROVIDED_META_REDUCERS\`
in file '/projects/xxx/src/lib/xxx.module.ts'.
For more info see https://ngrx.io/guide/migration/v8#meta_reducers-token.
这是什么。我在代码中找不到META_REDUCERS
。
其次,当我试图构建我的库时,我会收到以下错误,但未能启动:
发布于 2019-09-29 22:57:43
您可以忽略此消息,当您不使用META_REDUCERS
令牌时,不应该将它打印出来。
https://stackoverflow.com/questions/58152068
复制