Describe the Bug
Attempting to use a version of Node.js prior to v20.12.0 (when styleText was added) fails despite the package indicating that Node 18 or greater is supported.
node_modules/react-email/dist/index.js:20
import { styleText } from "node:util";
^^^^^^^^^
SyntaxError: The requested module 'node:util' does not provide an export named 'styleText'
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://github.com/mirite/react-email-error-reproduction
To Reproduce
nvm install v18.20.0 # Or any below when styleText was added in v20.12.0
npx react-email dev
Expected Behavior
Runs the initial react-email dev.
What's your node version? (if relevant)
v18.20.0
Describe the Bug
Attempting to use a version of Node.js prior to v20.12.0 (when styleText was added) fails despite the package indicating that Node 18 or greater is supported.
Which package is affected (leave empty if unsure)
react-email
Link to the code that reproduces this issue
https://github.com/mirite/react-email-error-reproduction
To Reproduce
nvm install v18.20.0 # Or any below when styleText was added in v20.12.0 npx react-email devExpected Behavior
Runs the initial react-email dev.
What's your node version? (if relevant)
v18.20.0