janjaali / sendGrid-mock

SendGrid-Mock serves as a simple server mocking the sendgrid-apis for development purposes.
https://cloud.docker.com/repository/docker/ghashange/sendgrid-mock/general
MIT License
48 stars 19 forks source link

SyntaxError #21

Closed rdehuyss closed 3 years ago

rdehuyss commented 3 years ago

I'm receiving a syntax error in the refactored code:

[HPM] Proxy created: /  ->  http://localhost:3000/api
/home/ronald/Projects/BringMe/utils/new-sendgrid-mock/src/server/handler/MailHandler.js:89
[0]   #mails = [];
[0]   ^
[0] 
[0] SyntaxError: Invalid or unexpected token
[0]     at Module._compile (internal/modules/cjs/loader.js:723:23)
[0]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
rdehuyss commented 3 years ago

Solved with newer node version