eagerpatch / navita

Atomic CSS-in-JS with zero runtime
https://navita.style
MIT License
51 stars 0 forks source link

Index not found. #53

Open mval1 opened 1 month ago

mval1 commented 1 month ago

Hello. Very cool project. When to use with yarn, nodeLinker: pnp. swc send error Index not found

Zn4rK commented 1 month ago

Hello! Thank you!

It seems like nodeLinker: pnp is not supported by swc. But I'll try to take a look and see if I can find a workaround.

Which version of Yarn are you using?

mval1 commented 1 month ago

pnp is https://github.com/swc-project/swc/issues/3247

looks like it..

But if you switch nodeLinker to pnpm everything works fine. yarn berry 4.1.3