Cannot read property 'whitelist' of undefined when importing ngrx dev tools











up vote
17
down vote

favorite
1












Importing ngrx devtools to enable a debugger for chrome tools results to an error below:




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)




This are my versions below of ngrx:



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


and my angular and ionic



 "@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",


Whenever I try to import this code below on app.module is always shows the error that I displayed on top.



 StoreDevtoolsModule.instrument({
maxAge: 15
}),


The error on top refers to this line of code in my console on line 210



this.extensionConnection.send(sanitizedAction, sanitizedState);


Appreciate if someone could help.
Thanks in advance.










share|improve this question


















  • 1




    possible duplicate of stackoverflow.com/questions/53513246/…
    – Vikas
    Nov 28 at 6:35










  • OFFICIAL workaround solution : stackoverflow.com/a/53514787/4231054
    – Tony Ster
    Nov 28 at 9:38















up vote
17
down vote

favorite
1












Importing ngrx devtools to enable a debugger for chrome tools results to an error below:




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)




This are my versions below of ngrx:



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


and my angular and ionic



 "@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",


Whenever I try to import this code below on app.module is always shows the error that I displayed on top.



 StoreDevtoolsModule.instrument({
maxAge: 15
}),


The error on top refers to this line of code in my console on line 210



this.extensionConnection.send(sanitizedAction, sanitizedState);


Appreciate if someone could help.
Thanks in advance.










share|improve this question


















  • 1




    possible duplicate of stackoverflow.com/questions/53513246/…
    – Vikas
    Nov 28 at 6:35










  • OFFICIAL workaround solution : stackoverflow.com/a/53514787/4231054
    – Tony Ster
    Nov 28 at 9:38













up vote
17
down vote

favorite
1









up vote
17
down vote

favorite
1






1





Importing ngrx devtools to enable a debugger for chrome tools results to an error below:




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)




This are my versions below of ngrx:



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


and my angular and ionic



 "@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",


Whenever I try to import this code below on app.module is always shows the error that I displayed on top.



 StoreDevtoolsModule.instrument({
maxAge: 15
}),


The error on top refers to this line of code in my console on line 210



this.extensionConnection.send(sanitizedAction, sanitizedState);


Appreciate if someone could help.
Thanks in advance.










share|improve this question













Importing ngrx devtools to enable a debugger for chrome tools results to an error below:




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)




This are my versions below of ngrx:



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


and my angular and ionic



 "@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",


Whenever I try to import this code below on app.module is always shows the error that I displayed on top.



 StoreDevtoolsModule.instrument({
maxAge: 15
}),


The error on top refers to this line of code in my console on line 210



this.extensionConnection.send(sanitizedAction, sanitizedState);


Appreciate if someone could help.
Thanks in advance.







javascript angular redux ngrx redux-devtools






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 28 at 5:44









KnowledgeSeeker

26117




26117








  • 1




    possible duplicate of stackoverflow.com/questions/53513246/…
    – Vikas
    Nov 28 at 6:35










  • OFFICIAL workaround solution : stackoverflow.com/a/53514787/4231054
    – Tony Ster
    Nov 28 at 9:38














  • 1




    possible duplicate of stackoverflow.com/questions/53513246/…
    – Vikas
    Nov 28 at 6:35










  • OFFICIAL workaround solution : stackoverflow.com/a/53514787/4231054
    – Tony Ster
    Nov 28 at 9:38








1




1




possible duplicate of stackoverflow.com/questions/53513246/…
– Vikas
Nov 28 at 6:35




possible duplicate of stackoverflow.com/questions/53513246/…
– Vikas
Nov 28 at 6:35












OFFICIAL workaround solution : stackoverflow.com/a/53514787/4231054
– Tony Ster
Nov 28 at 9:38




OFFICIAL workaround solution : stackoverflow.com/a/53514787/4231054
– Tony Ster
Nov 28 at 9:38












3 Answers
3






active

oldest

votes

















up vote
14
down vote



accepted










Faced the same issue , it works fine in firefox , uninstalled redux dev tools from chrome and then started working (kind of workaround )



Looks like issue with chrome redux dev tools extension .



ref (https://stackoverflow.com/a/53513518/3742158)






share|improve this answer





















  • Yep redux dev tool issue
    – Stevanicus
    Nov 28 at 8:57










  • It is a weird thing because yesterday it wasn't working then I slept at night and then I woke up this morning then suddenly it is now working again. I didn't even uninstall it in the first place and install it again. But now it is working already.
    – KnowledgeSeeker
    Nov 28 at 23:21












  • I had this same issue yesterday. Today i just remove the extension from chrome and install it again. Now working fine.
    – Johar Zaman
    Nov 29 at 8:11


















up vote
5
down vote













Just to let you know: I had my redux devtools working fine yesterday. My project dependencies are 99% same as yours. Today I face exactly the same issue. The problem is probably with extension. Try to install another version.



There are some issues on github page about 2.16 version.
https://github.com/zalmoxisus/redux-devtools-extension/issues/589






share|improve this answer




























    up vote
    5
    down vote













    Update your chrome extension to 2.16.2 => works again :)






    share|improve this answer





















      Your Answer






      StackExchange.ifUsing("editor", function () {
      StackExchange.using("externalEditor", function () {
      StackExchange.using("snippets", function () {
      StackExchange.snippets.init();
      });
      });
      }, "code-snippets");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "1"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53512879%2fcannot-read-property-whitelist-of-undefined-when-importing-ngrx-dev-tools%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      14
      down vote



      accepted










      Faced the same issue , it works fine in firefox , uninstalled redux dev tools from chrome and then started working (kind of workaround )



      Looks like issue with chrome redux dev tools extension .



      ref (https://stackoverflow.com/a/53513518/3742158)






      share|improve this answer





















      • Yep redux dev tool issue
        – Stevanicus
        Nov 28 at 8:57










      • It is a weird thing because yesterday it wasn't working then I slept at night and then I woke up this morning then suddenly it is now working again. I didn't even uninstall it in the first place and install it again. But now it is working already.
        – KnowledgeSeeker
        Nov 28 at 23:21












      • I had this same issue yesterday. Today i just remove the extension from chrome and install it again. Now working fine.
        – Johar Zaman
        Nov 29 at 8:11















      up vote
      14
      down vote



      accepted










      Faced the same issue , it works fine in firefox , uninstalled redux dev tools from chrome and then started working (kind of workaround )



      Looks like issue with chrome redux dev tools extension .



      ref (https://stackoverflow.com/a/53513518/3742158)






      share|improve this answer





















      • Yep redux dev tool issue
        – Stevanicus
        Nov 28 at 8:57










      • It is a weird thing because yesterday it wasn't working then I slept at night and then I woke up this morning then suddenly it is now working again. I didn't even uninstall it in the first place and install it again. But now it is working already.
        – KnowledgeSeeker
        Nov 28 at 23:21












      • I had this same issue yesterday. Today i just remove the extension from chrome and install it again. Now working fine.
        – Johar Zaman
        Nov 29 at 8:11













      up vote
      14
      down vote



      accepted







      up vote
      14
      down vote



      accepted






      Faced the same issue , it works fine in firefox , uninstalled redux dev tools from chrome and then started working (kind of workaround )



      Looks like issue with chrome redux dev tools extension .



      ref (https://stackoverflow.com/a/53513518/3742158)






      share|improve this answer












      Faced the same issue , it works fine in firefox , uninstalled redux dev tools from chrome and then started working (kind of workaround )



      Looks like issue with chrome redux dev tools extension .



      ref (https://stackoverflow.com/a/53513518/3742158)







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Nov 28 at 6:41









      Vikas

      353314




      353314












      • Yep redux dev tool issue
        – Stevanicus
        Nov 28 at 8:57










      • It is a weird thing because yesterday it wasn't working then I slept at night and then I woke up this morning then suddenly it is now working again. I didn't even uninstall it in the first place and install it again. But now it is working already.
        – KnowledgeSeeker
        Nov 28 at 23:21












      • I had this same issue yesterday. Today i just remove the extension from chrome and install it again. Now working fine.
        – Johar Zaman
        Nov 29 at 8:11


















      • Yep redux dev tool issue
        – Stevanicus
        Nov 28 at 8:57










      • It is a weird thing because yesterday it wasn't working then I slept at night and then I woke up this morning then suddenly it is now working again. I didn't even uninstall it in the first place and install it again. But now it is working already.
        – KnowledgeSeeker
        Nov 28 at 23:21












      • I had this same issue yesterday. Today i just remove the extension from chrome and install it again. Now working fine.
        – Johar Zaman
        Nov 29 at 8:11
















      Yep redux dev tool issue
      – Stevanicus
      Nov 28 at 8:57




      Yep redux dev tool issue
      – Stevanicus
      Nov 28 at 8:57












      It is a weird thing because yesterday it wasn't working then I slept at night and then I woke up this morning then suddenly it is now working again. I didn't even uninstall it in the first place and install it again. But now it is working already.
      – KnowledgeSeeker
      Nov 28 at 23:21






      It is a weird thing because yesterday it wasn't working then I slept at night and then I woke up this morning then suddenly it is now working again. I didn't even uninstall it in the first place and install it again. But now it is working already.
      – KnowledgeSeeker
      Nov 28 at 23:21














      I had this same issue yesterday. Today i just remove the extension from chrome and install it again. Now working fine.
      – Johar Zaman
      Nov 29 at 8:11




      I had this same issue yesterday. Today i just remove the extension from chrome and install it again. Now working fine.
      – Johar Zaman
      Nov 29 at 8:11












      up vote
      5
      down vote













      Just to let you know: I had my redux devtools working fine yesterday. My project dependencies are 99% same as yours. Today I face exactly the same issue. The problem is probably with extension. Try to install another version.



      There are some issues on github page about 2.16 version.
      https://github.com/zalmoxisus/redux-devtools-extension/issues/589






      share|improve this answer

























        up vote
        5
        down vote













        Just to let you know: I had my redux devtools working fine yesterday. My project dependencies are 99% same as yours. Today I face exactly the same issue. The problem is probably with extension. Try to install another version.



        There are some issues on github page about 2.16 version.
        https://github.com/zalmoxisus/redux-devtools-extension/issues/589






        share|improve this answer























          up vote
          5
          down vote










          up vote
          5
          down vote









          Just to let you know: I had my redux devtools working fine yesterday. My project dependencies are 99% same as yours. Today I face exactly the same issue. The problem is probably with extension. Try to install another version.



          There are some issues on github page about 2.16 version.
          https://github.com/zalmoxisus/redux-devtools-extension/issues/589






          share|improve this answer












          Just to let you know: I had my redux devtools working fine yesterday. My project dependencies are 99% same as yours. Today I face exactly the same issue. The problem is probably with extension. Try to install another version.



          There are some issues on github page about 2.16 version.
          https://github.com/zalmoxisus/redux-devtools-extension/issues/589







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 28 at 7:23









          E. Evsevleev

          513




          513






















              up vote
              5
              down vote













              Update your chrome extension to 2.16.2 => works again :)






              share|improve this answer

























                up vote
                5
                down vote













                Update your chrome extension to 2.16.2 => works again :)






                share|improve this answer























                  up vote
                  5
                  down vote










                  up vote
                  5
                  down vote









                  Update your chrome extension to 2.16.2 => works again :)






                  share|improve this answer












                  Update your chrome extension to 2.16.2 => works again :)







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 28 at 12:17









                  Klaus

                  511




                  511






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Stack Overflow!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53512879%2fcannot-read-property-whitelist-of-undefined-when-importing-ngrx-dev-tools%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Plaza Victoria

                      In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                      How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...