Open aadilayub opened 6 months ago
That could be the case, indeed, since we use https://gitpkg.now.sh/dreamyguy/validate-color/src/validate-color instead of the regular npm package, and for good reasons, since the normal one doesn't work with ESM.
However, in the CI and locally we use yarn v1.22.22
(I think it is the version nodes ships with corepack ?!?)
So there it works, I am no expert regarding the ways you can get yarn, and different yarn versions 🤷🏼♂️
Maybe we should setup a .zip extension CI build, that generate the needed zip for the extension, so that you don't have to deal with that thing.
That said, it's not possible to replace the used package of validate-color
( I tried it a while ago). So the best thing we can do. Is trying to use the same yarn version. Could you try and using an environment from e.g. nvm and get yarn by typing corepack enable
. Does it work then?
When using yarn set version 1.22.22
it worked for me.
When using
yarn set version 1.22.22
it worked for me.
this worked! thanks. Should probably add that to the README.
The
validate-color
package seems to be missing a manifest?I'm running the latest version of yarn, node v20, and Fedora 40 as the base system.