This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch branch-0.12
in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.12 by this push:
new cd3d3d05a3 [ZEPPELIN-6110] Specify the Node.js engine version below 17
in the `web-angular`
cd3d3d05a3 is described below
commit cd3d3d05a36d0a230a4ce926c0a1d7171db0b139
Author: SeungYoung Oh <[email protected]>
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 <[email protected]>
(cherry picked from commit 17e1e739fcc91612c3e51090eff026cd52f83781)
Signed-off-by: Cheng Pan <[email protected]>
---
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",