n8n Code node bug (in Version 1.113.3)
Did anyone faced the same problem - the Code Node in n8n just goes on and on without producing any outcome? I thought there was something wrong with me and my skills in using the Code Node, BUT it's apparently something else. So if you face the same problem in n8n Version 1.113. JFYI: I have just got this replay from ChatGPT n8n Assistant: What seems to be wrong ā known bug / environment issue From the community: - Many users report that any Code (JavaScript) node, even with the simplest code like return [{ json: { ping: 'ok' } }];, hangs indefinitely when executed. n8n Community+2n8n Community+2 - The node shows as āexecutingā forever, with no error, no output. n8n Community+2n8n Community+2 - The issue appears across all workflows, including brand-new ones, so itās not isolated to one workflow code. n8n Community - Some users suspect itās related to how the task runners / sandbox / worker execution environment handles JavaScript in the cloud. n8n Community+3n8n Community+3n8n Community+3 - In one thread, a user suggests removing any use of require() or external modules in the Code node since that might block the sandbox. n8n Community - Another fix reported: ārestart the workspaceā via the Admin panel. n8n Community So in short: itās likely a platform bug / misconfiguration rather than a mistake in your code (especially if even trivial code hangs).