Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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?