# Why .. "TypeError: Cannot read property 'apply' of undefined"

**URL:** <https://discourse.nodered.org/t/why-typeerror-cannot-read-property-apply-of-undefined/43106>\
**Category:** General\
**Created:** [24 March 2021 06:51 UTC](https://discourse.nodered.org/t/why-typeerror-cannot-read-property-apply-of-undefined/43106 "2021-03-24T06:51:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [24 March 2021 07:58 UTC](https://discourse.nodered.org/t/why-typeerror-cannot-read-property-apply-of-undefined/43106/2 "2021-03-24T07:58:40Z")

</div>

Hi, in order to make your flow importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/why-typeerror-cannot-read-property-apply-of-undefined/43106)._
