# TypeError: Cannot read properties of undefined (reading 'push')

**URL:** <https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-push/69278>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [19 October 2022 16:02 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-push/69278 "2022-10-19T16:02:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MahouOcty](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mahouocty/32/69399_2.png) [@MahouOcty](https://discourse.nodered.org/u/MahouOcty)\
**Post date:** [19 October 2022 16:02 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-push/69278/1 "2022-10-19T16:02:33Z")

</div>

I'm trying to make this flow run in my node-red but it doesn't seem to work with it, I'm using wsl ubuntu with it, and the error the console gives me is:

```auto
Error: Module not allowed
    at Object.requireModule [as require] (/usr/local/lib/node_modules/node-red/node_modules/@node-red/registry/lib/externalModules.js:104:19)
    at Object.requireModule [as require] (/usr/local/lib/node_modules/node-red/node_modules/@node-red/registry/lib/util.js:51:45)
    at new SvgGraphicsNode (/home/mahouocty/.node-red/node_modules/node-red-contrib-ui-svg/svg_graphics.js:273:26)
    at Object.createNode (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/util.js:90:27)
    at Flow.start (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/Flow.js:206:48)
    at Object.start [as startFlows] (/usr/local/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/flows/index.js:394:33) {
  code: 'module_not_allowed'
}
19 Oct 10:52:35 - [error] [ui_svg_graphics:888c3ce1ba9d8e2b] TypeError: Cannot read properties of undefined (reading 'push')

```

I have already tried to restart both node-red and shutting down the system, also here's the nodes I have installed for it:

 ![imagen](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/2/62e517d78e2abe3aea24fc870f15a1449b9d29da.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 November 2022 16:02 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-push/69278/2 "2022-11-18T16:02:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
