react-email icon indicating copy to clipboard operation
react-email copied to clipboard

`dev` command does not work in yarn workspaces

Open IgnisDa opened this issue 2 years ago • 4 comments

Using version 1.5.0

I am using yarn workspaces. react-email dev fails with this error (the last step hangs indefinitely):

image

Reproduction:

  1. Clone https://github.com/IgnisDa/codefarem/tree/IgnisDa/issue23 (the IgnisDa/issue23 branch)
  2. cd apps/mails && npx react-email dev

IgnisDa avatar Dec 24 '22 06:12 IgnisDa

Temporary workaround is to create a yarn.lock in it manually.

IgnisDa avatar Dec 24 '22 06:12 IgnisDa

this is working for me in a private repo, I just used the yarn create email command to make a new package

aidankinzett avatar Jan 21 '23 04:01 aidankinzett

Does not work in an NX project too (nx is using npm, got package.lock, but react-email forces to use yarn. I also had to create a yarn.lock manually)

Hope for an update ! :)

juliencastera avatar Jan 23 '23 20:01 juliencastera

@juliencastera we removed the hard requirement on Yarn, make sure you upgrade to the latest version.

zenorocha avatar Jan 24 '23 06:01 zenorocha

Closing this, feel free to re-open.

bukinoshita avatar Mar 03 '23 07:03 bukinoshita