resend / resend-node-example

This example shows how to use Resend with Node.js
MIT License
41 stars 14 forks source link

can't run example without installing 2 dependencies: react react-dom #23

Open 1mike12 opened 5 hours ago

1mike12 commented 5 hours ago

I tried sending a test email to "delivered@resend.dev" , but kept getting errors about not being able to find react and react-dom/server

I never saw these dependencies on the getting started https://resend.com/docs/send-with-nodejs nor in this repo.

only after installing both dependencies did sending work. Is this expected? I wouldve thought that the sdk could send raw text without such dependencies?

1mike12 commented 5 hours ago

"resend": "^4.0.0"

added these to make it work "react-dom": "^18.3.1" "react": "^18.3.1"