question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Need to update with AWS NodeJS12.x runtime

See original GitHub issue

Error:

Serverless plugin "serverless-plugin-chrome" initialization errored: The "serverless-plugin-headless-chrome" plugin only supports the Node.js 6.10 or 8.10 runtimes. Your service is using the "nodejs12.x" provider.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

7reactions
00devcommented, Jan 10, 2020

I’m afraid that quickfix is not enough. It’s need to add elements into wrapperTemplateMap in packages/serverless-plugin/src/index.js

const wrapperTemplateMap = {
  'aws-nodejs6.10': 'wrapper-aws-nodejs.js',
  'aws-nodejs8.10': 'wrapper-aws-nodejs.js', 
  'aws-nodejs10.x': 'wrapper-aws-nodejs.js',
  'aws-nodejs12.x': 'wrapper-aws-nodejs.js',
}
4reactions
safv12commented, Mar 9, 2020

Sorry, It was my error, I just updated to serverless-plugin-chrome@1.0.0-55.2 and it works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js 12.x runtime now available in AWS Lambda
We are excited to announce that you can now develop AWS Lambda functions using the Node.js 12.x runtime, which is the current Long...
Read more >
How do I safely update my AWS Lambda functions' runtime ...
It's probably nodejs14.x so you can search for that and just bump it to 16. ... You only need to modify the Runtime...
Read more >
AWS withdrawing Lambda support for Node.js 12 - Si Novi
Starting November 14, 2022, Lambda will no longer apply security patches and other updates to the Node.js 12 runtime used by Lambda ...
Read more >
I was upgrade my nodejs runtime from 12.x to 16.x but custom ...
... created automatically via serverless has a hardcoded runtime of “nodejs12.x” How to upgrade this custom resource lambda?
Read more >
AWS Lambda Native Tracing for Node.js - IBM
See the next section for other environment variables that need to be set. ... The ARNs of the AWS Lambda layers for the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found