Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update node.js runtime #1

Open
emsearcy opened this issue Jan 9, 2020 · 3 comments
Open

Update node.js runtime #1

emsearcy opened this issue Jan 9, 2020 · 3 comments

Comments

@emsearcy
Copy link

emsearcy commented Jan 9, 2020

Serverless deploy output:

The runtime parameter of nodejs6.10 is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs12.x) while creating or updating functions.

@emsearcy
Copy link
Author

emsearcy commented Jan 9, 2020

I didn't run extensive tests but it seems to work ok on nodejs12.x -- didn't see any warnings/errors in cloudwatch logs.

-  runtime: nodejs6.10
+  runtime: nodejs12.x

@agstevens
Copy link

In case it helps anyone else, I had an issue with webpack:
line 7 of webpack.config.js

  • loaders: [
  • rules: [

Source: https://webpack.js.org/migrate/3/#module-loaders-is-now-module-rules

@brunobalves
Copy link

Can anyone help me change the code to generate index.html in root directory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants