Troubleshooting Errors

Module not found

You’ll see this error if you’re using the require Function. Because require doesn’t have a global context, relative paths won’t work unless you import require() as a dependency of define().

If you get a "Module does not exist" error, try switching relative paths to absolute paths.

For more information, see require Function.

You do not have permission to load this module

Check your module scope settings. For details, see Controlling Access to Scripts and Custom Modules.

Script is behaving inconsistently or erratically

If your script uses a custom module or library, make sure the file is in a File Cabinet location without restrictions. Remember, files and folders inherit parent folder restrictions, which can keep some roles from running the script.

Related Topics

General Notices