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
Kyriakos Zisopoulos
08/24/2020, 12:48 PM
Probably webpack trans piles the code to a js version that netsuite does not understand. Try using babel with es5