Node.js 24
Error: The module was compiled against a different Node.js version using NODE_MODULE_VERSION
A precompiled native addon was built for a different Node.js ABI than the one now running.
Native Node addons (sharp, bcrypt, better-sqlite3, canvas, …) are tied to the Node major version's ABI (NODE_MODULE_VERSION). Upgrading the Lambda/container runtime to Node.js 24 without rebuilding or updating these packages can trigger the mismatch.
Related deadline: Lambda Node.js 20 create/update restrictions — 2027-02-01.
The free EOLkits scanner processes files in your browser and flags selected related patterns in supported IaC and dependency files. File names and contents are not uploaded; bounded aggregate file and finding counts may be sent. It is not a complete source or AWS-account scan.
Prefer a 10-second check? Paste your config into the free AWS EOL checker. Pasted input is not uploaded; bounded first-party usage events may be sent.
Primary source: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html