mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
Env vars for Code node if using Task Runners (#3629)
Co-authored-by: Justin Ellingwood <justin@n8n.io>
This commit is contained in:
parent
b903a61a64
commit
aaa9af208f
@ -24,4 +24,8 @@ export NODE_FUNCTION_ALLOW_BUILTIN=crypto,fs
|
||||
# Allow usage of external npm modules.
|
||||
export NODE_FUNCTION_ALLOW_EXTERNAL=moment,lodash
|
||||
```
|
||||
/// note | If using Task Runners
|
||||
If n8n instance is setup with [Task Runners](/hosting/configuration/task-runners.md), add the environment variables to the Task Runners instead to the main n8n node.
|
||||
///
|
||||
|
||||
Refer to [Environment variables reference](/hosting/configuration/environment-variables/nodes.md) for more information on these variables.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user