Discussions
Error "Invalid define call, define should only be called once per module." on activating extension
When I am trying to activate a specific extension, I am getting below error:
{"type":"error.SuiteScriptError","name":"9006",
"message":"Invalid define call, define should only be called once per module. Define calls found at the following line numbers: tmp_ssp_libraries_ext.js 34, 69, 178, 209, 229, 261, 345, 417, 524, 557, 565, 586, 618, 710, 802, 967, 1132, 1192, 1252, 1260, 1268","id":null,
"stack":["createError(N/error)"],
"cause":{"message":"Invalid define call, define should only be called once per module. Define calls found at the following line numbers: tmp_ssp_libraries_ext.js 34, 69, 178, 209, 229, 261, 345, 417, 524, 557, 565, 586, 618, 710, 802, 967, 1132, 1192, 1252, 1260, 1268",
"stack":["createError(N/error)","reduce(/SuiteBundles/Bundle 500777/ExtensionMechanism.Server/CompilersMapReduce/SspLibrariesCompilerMapReduce.js:306)"],"name":"9006"},"notifyOff":false,"userFacing":true}
How to fix this?