Lambda now supports Node 8.10… how do we enable?
See original GitHub issueHi
Lambda now supports Node 8.10 (finally)!
https://docs.aws.amazon.com/lambda/latest/dg/programming-model.html
Does serverless-webpack just work if you change the serverless.yml
file to use Node 8.10 or are there .babelrc
and/or webpack.config.js
changes required to make this work?
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
AWS Lambda Supports Node.js v8.10
You can now develop your AWS Lambda functions using Node.js v8.10. ... in Node.js 8.10 can now use the async/await pattern to specify...
Read more >AWS Lambda Node 8.10 EOL migration | Datree.io
The TL;DR is that the Node community decided to collectively stop supporting Node 8.10 on December 31st, 2019, so AWS is disabling the...
Read more >AWS Node 8.10 runtime for Lambdas! - Migration guide
10 locally, recompile node modules, update the serverless.yml and use the runtime: nodejs8.10 and deploy on AWS. This should work for any ...
Read more >NodeJS Lambda | The Complete Guide to Get Started 101
You 'll need a NodeJS runtime first. Now you must install a NodeJS version that AWS Lambda supports. In this post, NodeJS 8.10...
Read more >Lambda now supports Node.js 8.10 : r/aws - Reddit
After deploying an application recently on Lambda, I opened the console today and noticed that Node 8 is now available to select when...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ChristopheBougere I was having the same issue as you were with object spreads resulting in an unexpected token error. Turns out, you need the
babel-plugin-syntax-object-rest-spread
package for babel to parse - but not transform - the spread syntax so it’ll work natively in Node 8.npm i --save-dev babel-plugin-syntax-object-rest-spread
then in your
.babelrc
Hope that helps.
Did you try to remove the babel loader completely from
module: rules
and use the very latest webpack version? According to webpack’s documentation, loaders should be optional (just read through it) and webpack itself should understand plain JS. (However, I remember that theimport
statement is not yet supported in Node 8).