Describe the problem/error/question
I’m self hosting n8n on Coolify and have environment variables set:
NODE_FUNCTION_ALLOW_EXTERNAL=*
NODE_FUNCTION_ALLOW_BUILTIN=*
N8N_DISABLE_FUNCTION_MODULE_ISOLATION=true
I’ve tested this code block:
try {
const dns = require('dns');
} catch (e) {
return [{ json: { error: e.message } }];
}
What is the error message (if any)?
I’m getting this error:
[ { "error": "Cannot find module 'dns'" } ]
Information on your n8n setup
- n8n version: 1.104.1
- Database (default: SQLite): postgres + redis
- Running n8n via (Docker, npm, n8n cloud, desktop app): Coolify with Docker
- Operating system: Ubuntu 22.04
