Hey, I am receiving the following error when working with @sparticuz/chromium, and it seems to come from extract-zip^2.0.1.
{
"errorType": "Error",
"errorMessage": "require() of ES Module /opt/node_modules/get-stream/source/index.js from /opt/node_modules/extract-zip/index.js not supported.\nInstead change the require of /opt/node_modules/get-stream/source/index.js in /opt/node_modules/extract-zip/index.js to a dynamic import() which is available in all CommonJS modules.",
"trace": [
"Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/node_modules/get-stream/source/index.js from /opt/node_modules/extract-zip/index.js not supported.",
"Instead change the require of /opt/node_modules/get-stream/source/index.js in /opt/node_modules/extract-zip/index.js to a dynamic import() which is available in all CommonJS modules.",
" at Object.<anonymous> (/opt/node_modules/extract-zip/index.js:4:19)"
]
}
Does that belong to the chromium or puppeteer repos or does that belong here?
Hey, I am receiving the following error when working with
@sparticuz/chromium, and it seems to come fromextract-zip^2.0.1.{ "errorType": "Error", "errorMessage": "require() of ES Module /opt/node_modules/get-stream/source/index.js from /opt/node_modules/extract-zip/index.js not supported.\nInstead change the require of /opt/node_modules/get-stream/source/index.js in /opt/node_modules/extract-zip/index.js to a dynamic import() which is available in all CommonJS modules.", "trace": [ "Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/node_modules/get-stream/source/index.js from /opt/node_modules/extract-zip/index.js not supported.", "Instead change the require of /opt/node_modules/get-stream/source/index.js in /opt/node_modules/extract-zip/index.js to a dynamic import() which is available in all CommonJS modules.", " at Object.<anonymous> (/opt/node_modules/extract-zip/index.js:4:19)" ] }Does that belong to the chromium or puppeteer repos or does that belong here?