diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5ea35781..630b3599 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -39,3 +39,13 @@ Please do not include the output of `scripts/build` in your commits, we only do this when we release. (Also, you probably don't need to build anyway unless you are fixing something around our global build.) +## Miscellaneous + +if you faced the below issue, make sure you use node version < 18 +```node:internal/crypto/hash:71 + this[kHandle] = new _Hash(algorithm, xofLen); + ^ + +Error: error:0308010C:digital envelope routines::unsupported + at new Hash (node:internal/crypto/hash:71:19) + at Object.createHash (node:crypto:133:10)``` \ No newline at end of file diff --git a/package.json b/package.json index 37006576..4d6cba86 100644 --- a/package.json +++ b/package.json @@ -86,6 +86,6 @@ "dialog" ], "engines": { - "node": ">=8" + "node": ">=8 <18" } -} +} \ No newline at end of file