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

There are lots of mistakes #11

Open
Ashish2271 opened this issue Dec 13, 2023 · 1 comment · May be fixed by #12
Open

There are lots of mistakes #11

Ashish2271 opened this issue Dec 13, 2023 · 1 comment · May be fixed by #12

Comments

@Ashish2271
Copy link

  1. in pakage.json script says node index.js and that file doesnt even exist
  2. in pakage.json we should use type module because it allows to use import statements instead of const require
    Resend works only with import not with const require statements
    3)const resend = new Resend('re_123456789'); process.env.RESEND_API_KEY should be used here
@Ashish2271
Copy link
Author

i am making a PR of updated files which make this work

@Ashish2271 Ashish2271 linked a pull request Dec 13, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant