This module was compiled agianst a different Node.js issue.
Closed this issue · 0 comments
danishuahmad commented
I am using an npm module mongodb-client-encryption
(version 1.2.7) in my express application. Using it causes the following error unfortunately,
Error: The module '/var/app/current/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 72. This version of Node.js requires NODE_MODULE_VERSION 83. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`).
I have tried npm rebuild
as well as npm rebuild --update-binary
but nothing seems to be work.
(Not sure if that'd be helpful but my process.versions
return this
node: '14.18.1',
modules: '83',
... <SOME OTHER ATTRIBUTES AS WELL>
Any help or lead in this would be appreciated,
Cheers