This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 2b194864a4 [typo](docs)Resolved compilation errors caused by using a 
higher version of Node.js. (#22797)
2b194864a4 is described below

commit 2b194864a4579d315d00166ae9194e057edc856e
Author: hammer <[email protected]>
AuthorDate: Sun Sep 3 09:07:45 2023 +0800

    [typo](docs)Resolved compilation errors caused by using a higher version of 
Node.js. (#22797)
    
    Fixed errors caused by using a higher version of Node.js.
    
    Co-authored-by: Yongqiang YANG 
<[email protected]>
---
 .../en/community/developer-guide/mac-dev/dev-prepare.md | 17 +++++++++++++++++
 .../community/developer-guide/mac-dev/dev-prepare.md    | 14 ++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/docs/en/community/developer-guide/mac-dev/dev-prepare.md 
b/docs/en/community/developer-guide/mac-dev/dev-prepare.md
index 7fda6dc954..e3b43819d7 100644
--- a/docs/en/community/developer-guide/mac-dev/dev-prepare.md
+++ b/docs/en/community/developer-guide/mac-dev/dev-prepare.md
@@ -124,6 +124,23 @@ echo 'ulimit -n 65536' >>~/.zshrc
 cd $DORIS_HOME
 sh build.sh
 ```
+## Compilation Error with Higher Version of Node.js
+
+During the compilation process, errors may occur due to a higher version of 
Node.js.
+
+- opensslErrorStack: [ 'error:03000086:digital envelope 
routines::initialization error' ]
+  - library: 'digital envelope routines'
+  - reason: 'unsupported'
+  - code: 'ERR_OSSL_EVP_UNSUPPORTED'
+
+For more information and a possible solution, you can refer to this [Stack 
Overflow 
post](https://stackoverflow.com/questions/74726224/opensslerrorstack-error03000086digital-envelope-routinesinitialization-e).
+
+
+```shell
+## Instruct Node.js to use an older version of the OpenSSL provider.
+export NODE_OPTIONS=--openssl-legacy-provider
+```
+
 
 ## Configure Debug environment
 
diff --git a/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md 
b/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
index aba6f10bde..9ad69496ca 100644
--- a/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
+++ b/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
@@ -126,6 +126,20 @@ cd $DORIS_HOME
 sh build.sh
 ```
 
+## 编译过程中可能会遇到高版本的 Node.js 导致的错误
+
+opensslErrorStack: ['error:03000086:digital envelope routines::initialization 
error']
+library: 'digital envelope routines'
+reason: 'unsupported'
+code: 'ERR_OSSL_EVP_UNSUPPORTED'
+以下命令解决问题。参考[https://stackoverflow.com/questions/74726224/opensslerrorstack-error03000086digital-envelope-routinesinitialization-e](https://stackoverflow.com/questions/74726224/opensslerrorstack-error03000086digital-envelope-routinesinitialization-e)
+
+```shell
+#指示Node.js使用旧版的OpenSSL提供程序
+export NODE_OPTIONS=--openssl-legacy-provider
+```
+
+
 ## 配置 Debug 环境
 
 ```shell


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to