N8n node hangs

Describe the problem/error/question

I have the following Code node which used to work:

However, it started freezing. I see that the flow tries to execute it, but it can’t it keeps waiting for something. The first line of the code there is console log, but this log doesn’t appear which means that the node doesn’t start executing the code.

What is the error message (if any)?

No error message, but it keeps spinning forever… What could be wrong with it?

Debug info

core

  • n8nVersion: 1.110.1
  • platform: docker (cloud)
  • nodeJsVersion: 22.19.0
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: community

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/141.0.0.0 safari/537.36
  • isTouchDevice: false

hello @SSopin

Please, share the workflow.

You can select all nodes with Ctrl+A and copy them with Ctrl+C. Then, past the content after pressing the button </> with Ctrl+V.

And you are trying to access the g variable before it was initialized.

Generally, I strongly do not recommend using static data. Use Data Tables instead.