Skip to content

Update n8n to 2.35.0, allow builtin modules in Code nodes - #82

Open
BookJJun-IJ wants to merge 1 commit into
Yundera:mainfrom
BookJJun-IJ:n8n
Open

Update n8n to 2.35.0, allow builtin modules in Code nodes#82
BookJJun-IJ wants to merge 1 commit into
Yundera:mainfrom
BookJJun-IJ:n8n

Conversation

@BookJJun-IJ

Copy link
Copy Markdown
Member

Summary

  • Upgrade n8n from 2.14.2 to 2.35.0 (latest stable)
  • Allow Node.js builtin modules (fs, path, crypto) in Code nodes to fix
    "Module 'fs' is disallowed" error introduced by n8n 2.x task runner sandbox
  • Add NODE_OPTIONS for increased memory allocation (3GB max-old-space-size)

Changes

  • n8nio/n8n:2.14.2n8nio/n8n:2.35.0
  • Added N8N_NODE_FUNCTION_ALLOW_BUILTIN: fs,path,crypto
  • Added NODE_FUNCTION_ALLOW_BUILTIN: fs,path,crypto
  • Added N8N_RUNNERS_ALLOWED_BUILTIN_MODULES: fs,path,crypto
  • Added NODE_OPTIONS: "--max-old-space-size=3072"

Test plan

  • Verify n8n starts and login works
  • Run a Code node workflow using require('fs') or require('crypto')
  • Confirm existing workflows are preserved after upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant