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

fix(react-email): Dev server command

Open bastiaanv opened this issue 2 years ago • 2 comments

Fix for dev server not starting. For stack trace or more info, see #417

Closes #417

bastiaanv avatar Jan 30 '23 08:01 bastiaanv

This is needed, seems to be a MacOS issue

dr-nyt avatar Jan 30 '23 09:01 dr-nyt

If you would like a temp work around, you can replace your 'dev' command with this:

  "scripts": {
    "dev": "email dev -p '1; npm run dev -- -p 3000'"
  },

ewan-jrpets avatar Jan 30 '23 10:01 ewan-jrpets

Thanks @bastiaanv!

zenorocha avatar Jan 31 '23 02:01 zenorocha

Looks like this is more related to the package manager instead of the OS.

I got this message when running with 1.7.10:

warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.

zenorocha avatar Jan 31 '23 02:01 zenorocha