Troubleshooting Errors
Module not found
You may see this error if you are using the require Function. The require Function has no global context. Consequently, relative paths do not work for the require Function unless you import require() as a dependency of define().
If you receive the Module does not exist error, try replacing relative paths with absolute paths.
For more information, see require Function.
You do not have permission to load this module
Review your module scope settings. For a full description of support module scopes, see Controlling Access to Scripts and Custom Modules.
Script is behaving inconsistently or erratically
If your script contains a custom module or library script, check that the script file is stored in a File Cabinet location that does not have restrictions. Files and folders can inherit parent folder restrictions that may restrict a role from being able to run the script as intended.