Error: "Cannot Find Module 'tedious@1.11.0' Require Stack:..."
Last Updated:
Overview
Cause
To check the latest version of tedious that's available for a tenant's configured Node version, go to CanIRequire https://auth0-extensions.github.io/canirequire/#tedious, select the Node version, and see the available version of tedious. The example script is utilizing version 1.11.0, and the error stack trace will appears to point heavily at this library.
Solution
The Realtime Webtask Logs extension can also be used to view console.log statements placed in any of a tenant's extensibility points, including custom database scripts. This can be a very useful tool in debugging and troubleshooting custom database scripts.