-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run dev not opening port #747
Comments
@sysmat Can you share more information? Is this on Mac? Windows? Linux? Here's the same steps CleanShot.2023-07-06.at.14.13.34.mp4 |
@bukinoshita on windows power shell |
I also have the same setup and is experiencing the same issue |
Hello me too, when launching npm run dev it is starting and then closing immediately the process. |
+1 node 18.16.0 on Mac |
All windows? Or anyone having this issue on Mac? |
Yeah same issue for me on Mac |
Mac (sorry should have said). M2 running 13.4.1 |
Today (24 hours after my original post) it suddenly started working (no changes to the code base or system restarts. The first thing it did was download a bunch of dependancies. I'm wondering if perhaps a host for one of these dependancies was down and there's no error handing in the startup process? 🤷♂️ Just a new data point |
|
I tried installing the previous version
|
I had the same issue. I had to use |
With the latest version > email dev --port 8888 --dir src/emails
(node:30994) [DEP0164] DeprecationWarning: Implicit coercion to integer for exit code is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created) I am on Mac OS 13.2.1 and on a M1 chipset. |
I also have the same issue on windows |
|
getting above issue my package.json configs are as below: { |
I am still having this issue on Windows (inside WSL) when working with Bun on the latest version of react-email@2.1.1 When starting, it just automatically closes the dev server without any error:
|
@codeScourge Could you provide a reproduction for this? Seems to be another issue other than the one here. |
Hi, thank you for helping. Here is the reproduction: https://github.com/codeScourge/react-email |
@codeScourge I think I've figured it out. When running on WSL you might have not installed Node at all, in that case, it seems like it fails the same you mentioned. It also fails the same way when running with Could you open an issue with your reproduction and this documented as well? Some error might be happening due to some incompatibility with bun, and I'll try taking a look right now. Just want to move our conversation there instead. |
Sure, it is up at #1429 |
Describe the Bug
npm run dev -> nothing happend
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://stackblitz.com/edit/stackblitz-starters-tcqzzt?file=react-email-starter%2Freadme.md
To Reproduce
Expected Behavior
to start dev server on http://localhost:3001 as in readme documentation
What's your node version? (if relevant)
Node: 18.16.0
The text was updated successfully, but these errors were encountered: