dwyl / learn-aws-lambda

✨ Learn how to use AWS Lambda to easily create infinitely scalable web services
1.05k stars 202 forks source link

Link to Download *Exact* Version of Node used on AWS Lambda (4.3.2) #79

Open nelsonic opened 8 years ago

nelsonic commented 8 years ago

https://nodejs.org/download/release/v4.3.2/ (all platforms)

Jbarget commented 8 years ago

@nelsonic could you explain what you mean in the repo about the node version:

AWS Lambda only supports Node 0.10 so the tests (which are written in es6) are piped through babel and can be run without Node 4.0.

While i thought the minimum node version lambda supports is 4.3.2?

hope you're all good!

nelsonic commented 8 years ago

@Jbarget when we started writing this tutorial the only version of Node.js available on AWS Lambda was 0.10.38 ... then in April they released 4.3

https://twitter.com/nelsonic/status/718377061090516992

We have not yet updated this tutorial to reflect that... (apologies for any confusion caused...)

Please feel free to PR an update to the Readme to "fix" it! (I would be super grateful!)

I'm well. how are you, sir? using Lambda for a project? 😉

Jbarget commented 8 years ago

im real good :) yeh we're using Lambda for image upload with imagemagik. A real nice introduction to it all

nelsonic commented 8 years ago

@Jbarget you say you're using Lambda for image uploads ... not on GitHub you aren't... they got you writing closed-source code...? 😢

Jbarget commented 8 years ago

am i correct in thinking that now due to 4.3.2 being supported, theoretically the tests would not need to be run through babel?

https://github.com/dwyl/learn-aws-lambda/blame/master/README.md#L858

Jbarget commented 8 years ago

indeed private repo 😢

nelsonic commented 8 years ago

@Jbarget it really depends if the people writing the tests are using ALL the Shiny New Toys or just the ES2015 features that are available in Node 4.3.2 ...

Jbarget commented 8 years ago

so we're my changes correct?