You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Unexpected token '<' at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18) at ESMLoader.moduleProvider (node:internal/modules/esm/loader:475:14) [nodemon] app crashed - waiting for file changes before starting...
I get a syntax error when I try to use html in my email component.
const notificationEmail = ({ title, message }) => ({ subject:
${title}, html: ( <div> <p> {message}</p> </div> ) })
throws this error.
SyntaxError: Unexpected token '<' at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18) at ESMLoader.moduleProvider (node:internal/modules/esm/loader:475:14) [nodemon] app crashed - waiting for file changes before starting...
Running from a windows env
PS C:\Projects\support\appsupp\server> node -v
v16.17.1
Any ideas?
The text was updated successfully, but these errors were encountered: