Failed Login with error "Cannot find module..."

Problem Statement

We are observing the “Cannot find module” error when using an Action, Rule, or Hook.


Logins will fail with the error beginning like “Cannot find module…”

Steps to Reproduce

Add an unsupported node module to a Rule, Action, or Hook.


Using an unsupported node module in an Action, Rule, or Hook.


Use a supported node module in the Rule, Action, or Hook. You can find supported modules here: Can I require? - Search which node modules you can use in