Error: Initiated Worker with invalid execArgv flags: --expose-gc, --max-semi-space-size=102, --max-old-space-size=1844
at Compress.<anonymous> (/var/task/node_modules/gzipper/src/Compress.js:184:31)
at step (/var/task/node_modules/gzipper/src/Compress.js:44:23)
at Object.throw (/var/task/node_modules/gzipper/src/Compress.js:25:53)
at rejected (/var/task/node_modules/gzipper/src/Compress.js:17:65)
I am getting a error on running the code sample bellow on AWS lambda with node version 16. On local it's ok.
The gzipper version is the 7.2.0
Error logs: