<https://netsuiteprofessionals.slack.com/archives/...
# sdf
s
It seemed to be this issue, I am using 2.1 suitelet. I change the script file to 2.0 and it works. Weird thing is that I have another suitelet using 2.1 and uploaded success
s
IMHO the SS2.1 file cabinet validator is all kinds of broken.
b
perhaps you have included N/bug?
crying sunglasses 1
netsuite 1
🤭 2
s
I think N/bug is a global module?
c
its like N/log you can include if you want but its always there no matter what.
b
@stalbert my assumption is that it’s loaded by default in the background
no need to include it manually
so yes, a global module 😛
d
mean ... but funny
p
SS2.1 doesn't allow calls to N/modules directly in the define function. It must be wrapped in a sub-function.
m
@Pavol I understand that this issue is encountered just including the module as a dependency, without calling it anywhere. I ran into the same thing today with
N/currentRecord
p
@michoel: If it didn't help and suddenly started then filing a support case is the best way.
m
Yes if I had the patience to.. I just worked around by using a local require