question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RangeError: Maximum call stack size exceeded crashes Node-RED in endless loop at startup.

See original GitHub issue

Software and Package Versions

Software Version
Node.JS 10.15.3
npm 6.11.2
Node-RED 0.20.7
uibuilder node not shown but not latest
uibuilderFE not shown but not latest
OS Raspbian GNU/Linux (stretch)
Browser Chrome Version 76.0.3809.100 (Official Build) (64-bit)

How is Node-RED installed? Where is uibuilder installed?

Installed with Node-RED admin interface “Manage Palette”.

Not sure if this was fixed in latest uibuilder version. But graceful-fs node-module caused Node-RED to endlessly crash when starting node-red-start and crash as soon as editor endpoint at http://localhost:1880 was reached through browser after using node-red --safe.

Screenshot of startup.

image

Screenshot with [warn] log after graceful-fs module removed. image

I have updated uibuilder to latest and can see graceful-fs installed no issues till now.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TotallyInformationcommented, Sep 6, 2019

Just to note that someone raised a similar issue in the forum. However, that wasn’t related to uibuilder so it looks like this issue is only indirectly related to uibuilder.

The common factor actually seems to be node-red-contrib-npm

https://discourse.nodered.org/t/random-crashes-with-maximum-call-stack-size-exceeded/15099/3

1reaction
bahijmansour-iotechcommented, Sep 2, 2019

Working fine now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node-Red crashes with RangeError: Maximum call stack size ...
Hi, I have a Node-Red instance that crashes from time to time with this error: kaalut-node-red | RangeError: Maximum call stack size ......
Read more >
Node-Red crashes with RangeError: Maximum call stack size ...
Hi, I have a Node-Red instance that crashes from time to time with this error: kaalut-node-red | RangeError: Maximum call stack size exceeded...
Read more >
Return triggers Maximum call stack size - Node-RED Forum
I am consistently getting a : "RangeError: Maximum call stack size exceeded" error that crashes node.red when I send a " return [null,...
Read more >
Debug node causing RangeError: Maximum call stack size ...
On a random basis NR crashes with an error caused by a debug node (I suppose). ... Jun 4 14:32:01 raspberrypi systemd[1]: nodered.service:...
Read more >
Random crashes with "Maximum call stack size exceeded"
Go to the node-red folder and try the command npm ls graceful-fs This should show you a dependency tree. When you find out...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found