react-email
react-email copied to clipboard
fix(react-email): `--silent` option being used instead of `--quiet` for deno
Summary
If deno is the slected package manager use quiet flag not silent as it currently stops the dependencies being installed.
Closes: https://github.com/resend/react-email/issues/1938
Affected command:
bun email build --packageManager deno
Issue
Example of the error in Canary build
bun email build --packageManager deno
â ™ Installing dependencies on `.react-email`error: unexpected argument '--silent' found
tip: a similar argument exists: '--quiet'
Usage: deno install --quiet [cmd]...
Error: Unable to install the dependencies and it exited with code: 1
at ChildProcess.<anonymous> (.../node_modules/react-email/dist/cli/index.js:2116:36)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
✖ Installing dependencies on `.react-email`
error: "email" exited with code 1