-
-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
if you are on Windows, using CMD
"email": "cp .env ./node_modules/react-email && email dev --dir src/email --port 3001", will not work. you will most probably get 'cp' is not recognized as an internal or external command,
operable program or batch file.
then, all StackOverflow answers will say, replace cp with copy, and it still wouldn't work due to The syntax of the command is incorrect.
this one was working for me (thanks ChatGPT)
in the package.json email script, use this one:
"email": "copy .env .\\node_modules\\react-email & email dev ^--dir src\\email ^--port 3001"
Metadata
Metadata
Assignees
Labels
No labels