-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Node 16.x is supported? #275
Comments
Implement lambda to generate documents (e.g., DOW) that returns a base64 encoded string of the pdf binary. Template files are contained in a layer and are under the /templates folder. Juice is a third-party package to combine the html and css files. Still troubleshooting trying to get puppeteer to run inside of lambda using puppeteer-core and having a compressed chromium binary added as a dependency or some alternative. The chrome-aws-lambda package does not appear to be maintained anymore, but someone has forked the repo and has been updating recent versions of node (v16) and puppeteer (v14). - https://acloudguru.com/blog/engineering/serverless-browser-automation-with-aws-lambda-and-puppeteer - https://github.com/alixaxel/chrome-aws-lambda - https://github.com/Sparticuz/chrome-aws-lambda - alixaxel/chrome-aws-lambda#264 - alixaxel/chrome-aws-lambda#275 Tikcet: AT-7345
Implement lambda to generate documents (e.g., DOW) that returns a base64 encoded string of the pdf binary. Template files are contained in a layer and are under the /templates folder. Juice is a third-party package to combine the html and css files. Still troubleshooting trying to get puppeteer to run inside of lambda using puppeteer-core and having a compressed chromium binary added as a dependency or some alternative. The chrome-aws-lambda package does not appear to be maintained anymore, but someone has forked the repo and has been updating recent versions of node (v16) and puppeteer (v14). - https://acloudguru.com/blog/engineering/serverless-browser-automation-with-aws-lambda-and-puppeteer - https://github.com/alixaxel/chrome-aws-lambda - https://github.com/Sparticuz/chrome-aws-lambda - alixaxel/chrome-aws-lambda#264 - alixaxel/chrome-aws-lambda#275 Tikcet: AT-7345
Implement lambda to generate documents (e.g., DOW) that returns a base64 encoded string of the pdf binary. Template files are contained in a layer and are under the /templates folder. Juice is a third-party package to combine the html and css files. Still troubleshooting trying to get puppeteer to run inside of lambda using puppeteer-core and having a compressed chromium binary added as a dependency or some alternative. The chrome-aws-lambda package does not appear to be maintained anymore, but someone has forked the repo and has been updating recent versions of node (v16) and puppeteer (v14). - https://acloudguru.com/blog/engineering/serverless-browser-automation-with-aws-lambda-and-puppeteer - https://github.com/alixaxel/chrome-aws-lambda - https://github.com/Sparticuz/chrome-aws-lambda - alixaxel/chrome-aws-lambda#264 - alixaxel/chrome-aws-lambda#275 Tikcet: AT-7345
I see the fix is implemented and a pull request is made. Any reason why is not merged yet? |
I've received an email from AWS that they are going to phase out the support of Nodejs12 end of 2022. I'm facing the same issue with Nodejs16 and waiting for the latest version of chrome-aws-lambda. However, if you are looking for a temporary fix, just fake the AWS_EXECUTION_ENV, please make sure other libraries are not using the environment variable AWS_EXECUTION_ENV for anything.
|
FYI https://github.com/shelfio/chrome-aws-lambda-layer has switched to https://github.com/Sparticuz/chrome-aws-lambda which supports nodejs16.x |
The latest repository is https://www.npmjs.com/package/@sparticuz/chromium. |
Vercel disables Node 14 support on 15 Aug 2023, and Node 16 support on 6 Feb 2024. Let's future-proof and not worry about this for a while by supporting Node 18. References for migration to @sparticuz/chromium: * alixaxel/chrome-aws-lambda#275 * https://github.com/Sparticuz/chrome-aws-lambda * https://github.com/Sparticuz/chromium#migration-from-chrome-aws-lambda References for upgrading puppeteer: * https://pptr.dev/chromium-support References for prior Node upgrades: * #3417 * #3414
Vercel disables Node 14 support on 15 Aug 2023, and Node 16 support on 6 Feb 2024. Let's future-proof and not worry about this for a while by supporting Node 18. References for migration to @sparticuz/chromium: * alixaxel/chrome-aws-lambda#275 * https://github.com/Sparticuz/chrome-aws-lambda * https://github.com/Sparticuz/chromium#migration-from-chrome-aws-lambda References for upgrading puppeteer: * https://pptr.dev/chromium-support References for prior Node upgrades: * #3417 * #3414
Vercel disables Node 14 support on 15 Aug 2023, and Node 16 support on 6 Feb 2024. Let's future-proof and not worry about this for a while by supporting Node 18. References for migration to @sparticuz/chromium: * alixaxel/chrome-aws-lambda#275 * https://github.com/Sparticuz/chrome-aws-lambda * https://github.com/Sparticuz/chromium#migration-from-chrome-aws-lambda References for upgrading puppeteer: * https://pptr.dev/chromium-support References for prior Node upgrades: * #3417 * #3414
Vercel disables Node 14 support on 15 Aug 2023, and Node 16 support on 6 Feb 2024. Let's future-proof and not worry about this for a while by supporting Node 18. References for migration to @sparticuz/chromium: * alixaxel/chrome-aws-lambda#275 * https://github.com/Sparticuz/chrome-aws-lambda * https://github.com/Sparticuz/chromium#migration-from-chrome-aws-lambda References for upgrading puppeteer: * https://pptr.dev/chromium-support References for prior Node upgrades: * #3417 * #3414
I am having the following error when I try to run my lambda with node 16.x, does anyone else get this?
Environment
chrome-aws-lambda
Version: ^10.1.0puppeteer
/puppeteer-core
Version: ^10.1.0The text was updated successfully, but these errors were encountered: