I know there has been some discussion about the `T...
# suitescript
m
I know there has been some discussion about the
TypeError: Cannot call method "split" of undefined
issue here. I've come across an account which is giving this error for every 2.0 script, even the simplest "hello world". Deleting the file cabinet file, script and deployment records and recreating hasn't helped. Any other things I could try before going to while waiting for support?
b
most of the time im of the belief that anything weird or unexpected should start with netsuite support
you will have plenty of time asking for other options while waiting for them to figure it out
m
Point taken, I've rephrased my question 😃 It's particularly tricky because it's not my account and I have limited access
j
I don't think it's applicable to solve your issue but incase someone else stumbles onto this thread as others have indicated this seems to be the new unexpected error for SuiteScript. For me I had accidentally used a let in a custom module. The UE 2.0 script using the module would give the split error. Took some time to find the module with the issue and then what in the module was causing it.
e
@michoel did you get any update on your support case? I have an account with the same issue, I have filled a ticket but we do not have any solution yet
m
@eminero I don't have direct access to the account, but I'll check with them and let you know
e
@michoel thanks! I created a few scripts today and they are working now, seems the issue was temporal