Access denied to require 'request-promise-native'


i am running n8n on unraid and i am getting the following error.

it used to work previously after declaring the environment


but when i reinstall n8n , and set the environment variable again, it is not working now. May i know if i still need to declear other buildin functions?

Not sure if port forwarding affects this, but my port forwarding is working well as i am able to access n8n externally using web address.

Hi @Benjamin123, request-promise-native isn’t a built-in node module but an external one. So you would need to specify NODE_FUNCTION_ALLOW_EXTERNAL=request-promise-native instead (relevant docs).

1 Like