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

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


The following commit(s) were added to refs/heads/master by this push:
     new 17e1e739fc [ZEPPELIN-6110] Specify the Node.js engine version below 17 
in the `web-angular`
17e1e739fc is described below

commit 17e1e739fcc91612c3e51090eff026cd52f83781
Author: SeungYoung Oh <seung...@naver.com>
AuthorDate: Tue Oct 1 02:16:41 2024 +0900

    [ZEPPELIN-6110] Specify the Node.js engine version below 17 in the 
`web-angular`
    
    ### What is this PR for?
    Specify the Node.js engine version below 17 in the `zeppelin-web-angular` 
package.json file to avoid errors related to Node.js 17+ and OpenSSL in Webpack.
    
    If we upgrade the Angular version to 13+ in the future, we will be able to 
use Node.js 17+ as well.
    
    [Reference: nodejs 17: digital envelope routines::unsupported · Issue 
#14532 · webpack/webpack](https://github.com/webpack/webpack/issues/14532)
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    
    ### What is the Jira issue?
    * [ZEPPELIN-6110]
    
    ### How should this be tested?
    1. Set your Node.js version to 17+
    2. Execute `npm run postinstall` in `zeppelin-web-angular`
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the license files need to update? N
    * Is there breaking changes for older versions? N
    * Does this needs documentation? N
    
    
    Closes #4848 from seung-00/ZEPPELIN-6110.
    
    Signed-off-by: Cheng Pan <cheng...@apache.org>
---
 zeppelin-web-angular/package.json | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/zeppelin-web-angular/package.json 
b/zeppelin-web-angular/package.json
index 7d28ca08b1..a9dc4f4a53 100644
--- a/zeppelin-web-angular/package.json
+++ b/zeppelin-web-angular/package.json
@@ -15,6 +15,9 @@
     "lint": "ng lint",
     "e2e": "ng e2e"
   },
+  "engines": {
+    "node": "<17.0.0"
+  },
   "private": true,
   "dependencies": {
     "@angular/animations": "~8.2.10",

Reply via email to