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

Error: The "serverless-plugin-chrome" plugin only supports the Node.js 6.10 or 8.10 runtimes. Your service is using the "nodejs18.x" provider. #772

Open
QA1980 opened this issue Dec 8, 2023 · 4 comments

Comments

@QA1980
Copy link

QA1980 commented Dec 8, 2023

Environment: linux, node 20.9.0, framework 3.36.0 (local), plugin 7.1.0, SDK 4.4.0
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues

Error:
Error: The "serverless-plugin-chrome" plugin only supports the Node.js 6.10 or 8.10 runtimes. Your service is using the "nodejs18.x" provider.
at throwIfUnsupportedRuntime (/workspace/node_modules/serverless-plugin-chrome/dist/index.js:27:11)
at new ServerlessChrome (/workspace/node_modules/serverless-plugin-chrome/dist/index.js:82:5)
at PluginManager.addPlugin (/workspace/node_modules/serverless/lib/classes/plugin-manager.js:91:28)
at /workspace/node_modules/serverless/lib/classes/plugin-manager.js:137:69
at Array.forEach ()
at PluginManager.loadAllPlugins (/workspace/node_modules/serverless/lib/classes/plugin-manager.js:137:44)
at async Serverless.init (/workspace/node_modules/serverless/lib/serverless.js:146:5)
at async /workspace/node_modules/serverless/scripts/serverless.js:601:7

@ckohtz
Copy link

ckohtz commented Dec 28, 2023

I'm having the same problem.

@muhzak
Copy link

muhzak commented Mar 27, 2024

Same here.

@piyush-kacha
Copy link

I'm facing the same issue

@ckohtz
Copy link

ckohtz commented Jun 3, 2024

@piyush-kacha @muhzak I got around this by not using serverless-plugin-chrome at all. I don't think it's being maintained anymore. Not sure what you're doing, but I ended up using @sparticuz/chromium with puppeteer to create my PDF generator.

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

4 participants