Hello, we are trying to test our extensions and th...
# suitecommerce
v
Hello, we are trying to test our extensions and theme on the latest NetSuite version (24.1) and we are not able to activate. We are getting the following error during activation: `Error: compound selectors may no longer be extended.\nConsider
@extend .button-secondary, :hover
instead.\nSee https://sass-lang.com/d/extend-compound for details` I did some investigation but couldn’t find any details regarding why this might have broken all of a sudden. Activations are working fine in accounts with the current NetSuite version (23.2). SuiteCommerce version is the same in all accounts (2023.1.2). Can someone guide me in the right direction?
s
So, just to be clear, you’re saying that you’re NOT extending compound selectors in your theme/extensions and the error is incorrect?
v
I understand the error (and what needs to be done to fix it). I don’t understand why it was working for the previous NetSuite version (23.2) and not working for this one (24.1).
s
OK, well I would start by clicking the link to the documentation in the error message
👍 1
Secondly, what’s changing is that we are changing the Sass compiler in 24.1 to Dart Sass
So if you have code like this:
@extend .button-tertiary:hover;
It needs to be changing to something like this:
@extend .button-tertiary, :hover;
👍 1
v
Ah, alright. I will recheck the release notes for 24.1, but I don’t remember seeing a mention of a change in the Sass compiler.
Regardless, thanks for the heads up and also helping me understand the underlying reason, I will convey this to my team!
s
We sent out a PFCN about it, so it’s possible you didn’t receive it
👍 1
246 Views