-
Notifications
You must be signed in to change notification settings - Fork 42
The module '/var/task/node_modules/node-webcrypto-ossl/build/Release/nodessl.node'\nwas compiled against a different Node.js version #298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I am running it against AWS Lambda. Latest Version. |
@oharkins Would you like to give this version a spin, |
0 verbose cli [ |
Thanks for the bug report, it looks like the |
@oharkins - murat-dogan/node-datachannel#65 is probably the root cause here, i.e. we're not compatible with Node17 yet. Are you able to run a Node v16 image? |
So to reaffirm: Node v16.13.1 is the most stable, and it should just work. If it still fails, then try removing the |
Hi,
Please check https://github.com/murat-dogan/node-datachannel/releases/tag/v0.3.0 |
{
"errorType": "Error",
"errorMessage": "The module '/var/task/node_modules/node-webcrypto-ossl/build/Release/nodessl.node'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 64. This version of Node.js requires\nNODE_MODULE_VERSION 83. Please try re-compiling or re-installing\nthe module (for instance, using
npm rebuild
ornpm install
).","code": "ERR_DLOPEN_FAILED",
"stack": [
"Error: The module '/var/task/node_modules/node-webcrypto-ossl/build/Release/nodessl.node'",
"was compiled against a different Node.js version using",
"NODE_MODULE_VERSION 64. This version of Node.js requires",
"NODE_MODULE_VERSION 83. Please try re-compiling or re-installing",
"the module (for instance, using
npm rebuild
ornpm install
)."," at Object.Module._extensions..node (internal/modules/cjs/loader.js:1144:18)",
" at Module.load (internal/modules/cjs/loader.js:950:32)",
" at Function.Module._load (internal/modules/cjs/loader.js:790:12)",
" at Module.require (internal/modules/cjs/loader.js:974:19)",
" at require (internal/modules/cjs/helpers.js:93:18)",
" at Object. (/var/task/node_modules/node-webcrypto-ossl/buildjs/index.js:16:14)",
" at Module._compile (internal/modules/cjs/loader.js:1085:14)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)",
" at Module.load (internal/modules/cjs/loader.js:950:32)",
" at Function.Module._load (internal/modules/cjs/loader.js:790:12)"
]
}
The text was updated successfully, but these errors were encountered: