Hey, can you try and isolate the issue so that we are sure that it is because of the non-compliance of the said module?
Try to add your script as an environment variable by isolating the modules that are causing issues using
postman.setGlobalVariable(). Once that is done, try to load it with
eval(postman.getGlobalVariable("environment variable key"));
If you’re able to then access the methods of your added script in the new file without any issues, try adding the non-compliant modules and see if the issue persists. If it does, we’d be able to pinpoint the issue better. Alternatively, you can also try loading the erroring modules in the same fashion by setting it as an environment variable and see if you are able to do it or not.
Keep us posted.