TM is probably running before NS loads the require...
# suitescript
e
TM is probably running before NS loads the require lib; I'm sure TM has a way to include libs