ReferenceError: location is not defined #201
Replies: 1 comment
-
Looks like you are running it on the server side. In this case, you need to use @emailjs/nodejs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
I'm trying to use emailjs to send information from a from in my website. I'm using Astro as a framework but ot some errors and I'm trying to understand it.
This is my code:
As you can see, there is some harcoded data just for the purpose. But then I get this error in the catch: "ReferenceError: location is not defined" at .../node_modules@emailjs\browser\cjs\methods\send\send.js:38:52
What kind of error is this? Or what it means?
Thanks in advice
Beta Was this translation helpful? Give feedback.
All reactions