Skip to content
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

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

Open
1mike12 opened this issue Oct 24, 2024 · 1 comment
Open

Comments

@1mike12
Copy link

1mike12 commented Oct 24, 2024

I tried sending a test email to "[email protected]" , 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
Copy link
Author

1mike12 commented Oct 24, 2024

"resend": "^4.0.0"

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant