Hi - Has anyone encounter this error when using we...
# suitescript
s
Hi - Has anyone encounter this error when using webpack and creating the script in NS?
Fail to evaluate script: {"type":"error.SuiteScriptModuleLoaderError","name":"UNEXPECTED_ERROR","message":"missing ; before statement (SS_SCRIPT_FOR_METADATA#6)","stack":[]}
k
Probably webpack trans piles the code to a js version that netsuite does not understand. Try using babel with es5