gpt4 book ai didi

javascript - 导入 ngrx 开发工具时无法读取未定义的属性 'whitelist'

转载 作者:太空狗 更新时间:2023-10-29 16:53:51 29 4
gpt4 key购买 nike

导入 ngrx devtoolschrome 工具启用调试器会导致以下错误:

ERROR TypeError: Cannot read property 'whitelist' of undefined at isFiltered (:1:5016) at Object.x [as send] (:1:74196) at DevtoolsExtension.notify (store-devtools.js:210) at ScanSubscriber.StoreDevtools.liftedAction$.pipe.Object.state [as accumulator] (store-devtools.js:649) at ScanSubscriber._tryNext (scan.js:61) at ScanSubscriber._next (scan.js:54) at ScanSubscriber.Subscriber.next (Subscriber.js:54) at WithLatestFromSubscriber._next (withLatestFrom.js:66) at WithLatestFromSubscriber.Subscriber.next (Subscriber.js:54) at Notification.observe (Notification.js:15)

这是我的以下 ngrx 版本:

 "@ngrx/core": "^1.2.0",
"@ngrx/effects": "^6.1.2",
"@ngrx/store": "^6.1.2",
"@ngrx/store-devtools": "^6.1.2",

还有我的angularionic

 "@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",
"@angular/http": "5.2.11",
"@angular/platform-browser": "5.2.11",
"@angular/platform-browser-dynamic": "5.2.11",
"@ionic-native/core": "~4.17.0",
"@ionic-native/splash-screen": "~4.17.0",
"@ionic-native/status-bar": "~4.17.0",

每当我尝试在 app.module 上导入下面的这段代码时,总是显示我在顶部显示的错误。

 StoreDevtoolsModule.instrument({
maxAge: 15
}),

上面的错误指的是我的console210

行的这行代码
this.extensionConnection.send(sanitizedAction, sanitizedState);

感谢有人能提供帮助。提前致谢。

最佳答案

面临同样的问题,它在 firefox 中运行良好,从 chrome 中卸载了 redux 开发工具,然后开始工作(一种解决方法)

看起来像 chrome redux 开发工具扩展的问题。

引用(https://stackoverflow.com/a/53513518/3742158)

关于javascript - 导入 ngrx 开发工具时无法读取未定义的属性 'whitelist',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53512879/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com