Yarn 2 support?


#1

Does bs-platform support (or are there plans to support) Yarn 2? I’m getting this error and want to confirm that it’s supported before digging deeper.

File "bsconfig.json", line 1
Error: package bs-platform is not found 
It's the basic, required package. If you have it installed globally,
Please run `npm link bs-platform` to make it available

#2

bs-platform/ReScript doesn’t handle out of source compilation which yarn 2 must have.


#3

That’s unfortunately true for now. You can still take advantage of the better resolution and speed of yarn 2 though by adding

nodeLinker: 'node-modules'

to your .yarnrc.yml