Platform: Cannot read property 'whitelist' of undefined in new version of redux devtools

Created on 28 Nov 2018  路  8Comments  路  Source: ngrx/platform

EDIT So it's pretty clear that the issue here lies with redux-devtools-extension - specifically https://github.com/zalmoxisus/redux-devtools-extension/issues/588 - however I'm going to leave this open for now so it's visible to anyone who happens to be looking for the error in this repo until the plugin issue gets resolved.

All of my applications that use @ngrx/store-devtools currently get this error on load using the latest version of redux devtools (2.16.0):

Cannot read property 'whitelist' of undefined.

I'm cross-linking with the issue in redux-devtools-extension as I'm unsure if the issue lies with ngrx or with the devtools themselves:

https://github.com/zalmoxisus/redux-devtools-extension/issues/589

FTR this is using the latest version of @ngrx:

    "@ngrx/effects": "^6.0.0",
    "@ngrx/router-store": "^6.0.0",
    "@ngrx/store": "^6.0.0",
    "@ngrx/store-devtools": "^6.0.0",
Blocked (External) Store Devtools bug

Most helpful comment

All 8 comments

Getting the same error suddenly

It's because of extension, not platform. To fix you have to downgrade redux-devtools-extension to 2.15.

same with:
"@ngrx/router-store": "6.1.0",
"@ngrx/store": "6.1.0",
"@ngrx/store-devtools": "6.1.0",
tried: v2.1.5
No matching version found for @ngrx/[email protected]

@tirlipinpon you have to downgrade the browser extension (not @ngrx/store-devtools).

ok thanks @timdeschryver but how downgrade the browser ext. ? google propose to me just 2.16.0

Seems like last automatic chrome update broke it, here's the changelog:

https://github.com/zalmoxisus/redux-devtools-extension/releases/tag/2.16

  • Deprecating window.devToolsExtension 220
  • Proper support for Blacklisted actions and dynamic maxAge (removed for now as it's not allowed to be called "while reducer is executing") 316
  • Improve performance for Chrome devpanel 580
  • Workaround for new Chrome limit on message size 582
  • Fix Chart Monitor nodes reusing 269
  • Fix losing options passed from option page
  • Fix actionsBlacklist/Whitelist to be also string as per documentation
  • Fix infinite recursion in enhancers 556
  • Fix serialization 459

( numbers are redux-devtools-extension issue numbers )

Was this page helpful?
0 / 5 - 0 ratings