Zohaib Ahmed
11/08/2024, 9:20 AM@extend .button-secondary, :hover
instead.\nSee https://sass-lang.com/d/extend-compound for details.\n","file":"filecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/BaseSassStyles/Sass/atoms/_buttons.scss 325:11 @import\nfilecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/BaseSassStyles/Sass/_main-atoms.scss 27:9 @import\nfilecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/Checkout/checkout.scss 49:9 @import\nfilecabinet:/Web%20Site%20Hosting%20Files/Live%20Hosting%20Files/SSP%20Applications/NetSuite%20Inc.%20-%20SCA%202019.2/Development/extensions/meta_checkout_2.scss 33:9 root stylesheet\n","src":"filecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/BaseSassStyles/Sass/atoms/_buttons.scss 325:11 @import\nfilecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/BaseSassStyles/Sass/_main-atoms.scss 27:9 @import\nfilecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/Checkout/checkout.scss 49:9 @import\nfilecabinet:/Web%20Site%20Hosting%20Files/Live%20Hosting%20Files/SSP%20Applications/NetSuite%20Inc.%20-%20SCA%202019.2/Development/extensions/meta_checkout_2.scss 33:9 root stylesheet\n","detail":"Error: compound selectors may no longer be extended.\nConsider @extend .button-secondary, :hover
instead.\nSee https://sass-lang.com/d/extend-compound for details.\n\n ╷\n325 │ @extend .button-secondary:hover;\n │ ^^^^^^^^^^^^^^^^^^^^^^^\n ╵\n filecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/BaseSassStyles/Sass/atoms/_buttons.scss 325:11 @import\n filecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/BaseSassStyles/Sass/_main-atoms.scss 27:9 @import\n filecabinet:/SuiteBundles/Bundle%20521562/extensions/SuiteCommerce/Suite_Commerce_Base_Theme@19.2.0/Modules/Checkout/checkout.scss 49:9 @import\n filecabinet:/Web%20Site%20Hosting%20Files/Live%20Hosting%20Files/SSP%20Applications/NetSuite%20Inc.%20-%20SCA%202019.2/Development/extensions/meta_checkout_2.scss 33:9 root stylesheet","text":"compound selectors may no longer be extended.\nConsider @extend .button-secondary, :hover
instead.\nSee https://sass-lang.com/d/extend-compound for details.\n","severity":{"label":"ERROR","value":3}}]}},"notifyOff":false,"userFacing":true}Celigo AI
11/08/2024, 9:20 AMAI generated answer (using internal Slack threads):From the first thread, it seems like the error is due to multiple calls to the define function in the same module. This is not allowed in SuiteScript. The define function should only be called once per module. The error message indicates that the define function is being called at multiple line numbers in the
tmp_myaccount_2.js
file. To resolve this, you should refactor your code to ensure that the define function is only called once in each module.
In the second thread, the user is facing a syntax error due to using features that are not implemented in SuiteScript 2.0. The user is advised to switch to SuiteScript 2.1 as it supports the features they are trying to use, such as template strings and the let
keyword.
The third thread is about an error that occurs when trying to deploy an extension. The error message suggests that there might be an issue with the files in the RestLet folder or the setup of the restlet script. The user is advised to ensure that all files in the RestLet folder have been uploaded to their account, that they have a restlet script pointing to sca_deployer.js
with the correct id, and that the get, post, put, delete methods are set correctly in the script. They should also make sure that the Deployment.js
and FileCabinet.js
scripts have been added to the script libraries.Celigo AI
11/08/2024, 9:20 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848862767
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846641958
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.845189035
Celigo AI
11/08/2024, 9:20 AM