You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@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.
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
The text was updated successfully, but these errors were encountered: