# Getting error when adding modules to the Nodered flow

**URL:** <https://discourse.nodered.org/t/getting-error-when-adding-modules-to-the-nodered-flow/72164>\
**Category:** General\
**Created:** [14 December 2022 06:21 UTC](https://discourse.nodered.org/t/getting-error-when-adding-modules-to-the-nodered-flow/72164 "2022-12-14T06:21:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikas-Konaparthi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/vikas-konaparthi/32/70446_2.png) [@Vikas-Konaparthi](https://discourse.nodered.org/u/Vikas-Konaparthi)\
**Post date:** [14 December 2022 06:21 UTC](https://discourse.nodered.org/t/getting-error-when-adding-modules-to-the-nodered-flow/72164/1 "2022-12-14T06:21:36Z")

</div>

I am using nginx as reverse proxy for nodered flow but without nginx it is working fine but coming to the use of nginx in nodered docker logs when I add new plugins from palette it is showing

TypeError: Cannot read properties of undefined (reading 'indexOf')  
at ResourceStore.getResource (/usr/src/node-red/node\_modules/i18next/dist/cjs/i18next.js:444:15)  
at ResourceStore.getResourceBundle (/usr/src/node-red/node\_modules/i18next/dist/cjs/i18next.js:535:19)  
at I18n.\_this2. [as getResourceBundle] (/usr/src/node-red/node\_modules/i18next/dist/cjs/i18next.js:2375:56)  
at /usr/src/node-red/node\_modules/@node-red/runtime/lib/api/nodes.js:397:55  
at Array.forEach ()  
at /usr/src/node-red/node\_modules/@node-red/runtime/lib/api/nodes.js:395:26  
at done (/usr/src/node-red/node\_modules/i18next/dist/cjs/i18next.js:2562:23)  
at /usr/src/node-red/node\_modules/i18next/dist/cjs/i18next.js:2581:11  
at /usr/src/node-red/node\_modules/i18next/dist/cjs/i18next.js:2456:11  
at Connector.prepareLoading (/usr/src/node-red/node\_modules/i18next/dist/cjs/i18next.js:2046:37)  
14 Dec 06:17:22 - [error] TypeError: Cannot read properties of undefined (reading 'indexOf')

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 December 2022 10:53 UTC](https://discourse.nodered.org/t/getting-error-when-adding-modules-to-the-nodered-flow/72164/2 "2022-12-14T10:53:16Z")

</div>

Is this a continuation of your [previous thread](https://discourse.nodered.org/t/nodered-not-loading-up-when-adding-modules-to-the-flow/71755/28)? If so then you did not answer the final question there. so please close this thread and answer the question on the previous thread.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 December 2022 14:09 UTC](https://discourse.nodered.org/t/getting-error-when-adding-modules-to-the-nodered-flow/72164/3 "2022-12-14T14:09:48Z")

</div>


