Closed (fixed)
Project:
radix
Version:
5.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2023 at 05:53 UTC
Updated:
7 Aug 2023 at 01:14 UTC
Jump to comment: Most recent
node-sass ^7.01 is required in `radix/src/kits/default/package.json`.
As noted here `https://github.com/sass/node-sass` node-sass 7 does not support node versions > 17.
As a result the theme compilation must build the sass-binary on the fly, resulting in very slow theme compilation (This was adding 4 minutes to our CI process.)
Update the required node-sass version to 8.0+
OR since node-sass is deprecated move to node-dart instead.
Comments
Comment #2
doxigo commentedChanged to "5.0.x-dev" and pushed a fix there, also bumped the node version to v18.16.1 in
nvmrc. thanks for bringing this upthe 5.1.x-dev is not ready at all and might change quite drastically, I suggest not using that branch for now
Comment #3
ckng@doxigo, instead of using a fixed version number in the `.nvmrc`, we want to use `lts/hydrogen` for v18.* or `lts/gallium` for v16.* instead.
Comment #4
doxigo commented@ckng, never used it like so, would it always be the latest LTS version if you go with lts/hydrogen? and I wonder how that would play out with nvmrc
Comment #5
ckng@doxigo, it won't force the latest version, but the related major LTS version on the local that fulfill the requirement. In this case, user are not forced to use a specific version, as long as it is the same LTS major version.
Comment #6
doxigo commentedPerfect, updated to lts/hydrogen, thanks for the hint
Comment #7
genebobmiller commentedAmazing, thanks everyone!