# Random crashes with "Maximum call stack size exceeded"

**URL:** <https://discourse.nodered.org/t/random-crashes-with-maximum-call-stack-size-exceeded/15099>\
**Category:** General\
**Created:** [4 September 2019 12:26 UTC](https://discourse.nodered.org/t/random-crashes-with-maximum-call-stack-size-exceeded/15099 "2019-09-04T12:26:43Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![clickworkorange](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/clickworkorange/32/12109_2.png) [@clickworkorange](https://discourse.nodered.org/u/clickworkorange)\
**Post date:** [7 September 2019 16:44 UTC](https://discourse.nodered.org/t/random-crashes-with-maximum-call-stack-size-exceeded/15099/17 "2019-09-07T16:44:01Z")

</div>

```auto
nodered@sentry:~/.node-red/node_modules $ npm ls | sed '/deduped$/d' | wc -l
314

```

No comprendo. Manually copy/pasting the output to a texteditor gives 248 lines (not including .. and .). Mind you one item is a symlink to [my own copy of node-red-nodes](https://discourse.nodered.org/t/adding-a-reduce-option-to-the-smooth-node/15180/25) . But why the discrepancy?

**Edit:** The discrepancy of course comes from `npm ls` showing every installed module and `ls -l` in .node-red/node\_modules dir only those local to Node-RED.

---

_[View the full topic](https://discourse.nodered.org/t/random-crashes-with-maximum-call-stack-size-exceeded/15099)._
