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

roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new ac92ae7e1 [#1706] improvement: Upgrade the default NodeJS and npm 
versions of dashboard. (#1707)
ac92ae7e1 is described below

commit ac92ae7e1c690a95905f70350de32c55528b0553
Author: yl09099 <[email protected]>
AuthorDate: Thu May 23 09:53:34 2024 +0800

    [#1706] improvement: Upgrade the default NodeJS and npm versions of 
dashboard. (#1707)
    
    ### What changes were proposed in this pull request?
    
    Upgrade the versions of NodeJS and npm.
    
    ### Why are the changes needed?
    
    The dashboard on MacOS does not support the M-chip of Node14, resulting in 
a local compilation failure, and you need to upgrade to Node16 or npm8 or later.
    
    Fix: #1706
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    No testing required.
---
 dashboard/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dashboard/pom.xml b/dashboard/pom.xml
index d5ac96af2..f4fc9c315 100644
--- a/dashboard/pom.xml
+++ b/dashboard/pom.xml
@@ -53,8 +53,8 @@
                         </goals>
                         <phase>generate-resources</phase>
                         <configuration>
-                            <nodeVersion>v14.21.3</nodeVersion>
-                            <npmVersion>6.14.18</npmVersion>
+                            <nodeVersion>v16.20.2</nodeVersion>
+                            <npmVersion>8.19.4</npmVersion>
                             
<nodeDownloadRoot>${nodeRepositoryUrl}</nodeDownloadRoot>
                             
<npmDownloadRoot>${npmRepositoryUrl}</npmDownloadRoot>
                         </configuration>

Reply via email to