I ran into a lot of problems due to @NModuleScope...
# suitescript
s
I ran into a lot of problems due to @NModuleScope and also due to requirements on the Client Scripts requiring Entry Points when I run it as a module, which ends up I kinda had to cheat the system