# State.entities not working redux selectors

**URL:** <https://forum.codewithmosh.com/t/state-entities-not-working-redux-selectors/6186>\
**Category:** React\
**Created:** [July 18, 2021, 2:53am UTC](https://forum.codewithmosh.com/t/state-entities-not-working-redux-selectors/6186 "2021-07-18T02:53:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexsotam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/alexsotam/32/1957_2.png) [@alexsotam](https://forum.codewithmosh.com/u/alexsotam)\
**Post date:** [July 18, 2021, 2:53am UTC](https://forum.codewithmosh.com/t/state-entities-not-working-redux-selectors/6186/1 "2021-07-18T02:53:25Z")

</div>

I’m having the followin error on SELECTORS

Uncaught TypeError: Cannot read property ‘bugs’ of undefined  
at Module. (index.js:22)  
at Module…/src/index.js (index.js:25)  
at **webpack\_require** (bootstrap:851)  
at fn (bootstrap:150)  
at Object.1 (reducer.js:9)  
at **webpack\_require** (bootstrap:851)  
at checkDeferredModules (bootstrap:45)  
at Array.webpackJsonpCallback [as push] (bootstrap:32)  
at main.chunk.js:1

---

<div class="post-metadata">

**Author:** ![AzharUddinSheikh](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/azharuddinsheikh/32/5561_2.png) [@AzharUddinSheikh](https://forum.codewithmosh.com/u/AzharUddinSheikh)\
**Post date:** [January 13, 2023, 4:06pm UTC](https://forum.codewithmosh.com/t/state-entities-not-working-redux-selectors/6186/2 "2023-01-13T16:06:28Z")

</div>

please share the image or code
