Hello guys,
I am putting an app to run on AWS (linux ubuntu), on my machine was running
everything right, when I went to AWS, the version of the node was
different, I updated to the last (stable) 8.0.21, but at the time of
running The script gave a lot of errors: - I was using the summarized form
of using functions, instead of using *function (req, res) {*, I did* (req,
res) => {*; This made a mistake and I changed all the points in the
program, but now it's giving:
/home/ubuntu/node/server.js:54
var smtpTransport = nodemailer.createTransport({
^^^
SyntaxError: Unexpected token var
at Module._compile (module.js:437:25)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
I do not know if it's any configuration, help me ....
Eduardo Pessoa
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/b36476f7-32f1-4858-a50f-cb1d78d03f29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.