[ https://issues.apache.org/jira/browse/RANGER-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17790183#comment-17790183 ]
Pradeep Agrawal edited comment on RANGER-4562 at 11/27/23 5:14 PM: ------------------------------------------------------------------- [~madhan] Can you try with version [1.11.3|https://mvnrepository.com/artifact/com.github.eirslett/frontend-maven-plugin/1.11.3] here in security-admin/pom.xml file [https://github.com/apache/ranger/blob/master/security-admin/pom.xml#L1043] was (Author: pradeep.agrawal): [~madhan] Can you try with version 1.11.3 here in security-admin/pom.xml file [https://github.com/apache/ranger/blob/master/security-admin/pom.xml#L1043] > Build fails in security-admin test while installing npm > ------------------------------------------------------- > > Key: RANGER-4562 > URL: https://issues.apache.org/jira/browse/RANGER-4562 > Project: Ranger > Issue Type: Bug > Components: admin > Reporter: Madhan Neethiraj > Assignee: Pradeep Agrawal > Priority: Major > > Build using {{mvn -Pranger-jdk11 -DskipTests=false clean compile package}} > fails in security-admin module while installing npm: > > {noformat} > ranger-build | [INFO] > ranger-build | [INFO] --- frontend-maven-plugin:1.12.1:npm (npm install > for tests) @ security-admin-web --- > ranger-build | [INFO] Running 'npm install' in > /home/ranger/src/security-admin/target/jstest > ranger-build | [INFO] > ranger-build | [INFO] > phantomjs-prebuilt@2.1.16 install > /home/ranger/src/security-admin/target/jstest/node_modules/phantomjs-prebuilt > ranger-build | [INFO] > node install.js > ranger-build | [INFO] > ranger-build | [INFO] PhantomJS not found on PATH > ranger-build | [INFO] Downloading > https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2 > ranger-build | [INFO] Saving to > /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 > ranger-build | [INFO] Receiving... > ranger-build | [INFO] > ranger-build | [INFO] Error making request. > ranger-build | [INFO] Error: connect ETIMEDOUT 185.199.108.133:443 > ranger-build | [INFO] at TCPConnectWrap.afterConnect [as oncomplete] > (net.js:1191:14) > ranger-build | [INFO] > ranger-build | [INFO] Please report this full log at > https://github.com/Medium/phantomjs > ranger-build | [INFO] npm WARN security-admin@2.0.0 No description > ranger-build | [INFO] npm WARN security-admin@2.0.0 No repository field. > ranger-build | [INFO] npm WARN security-admin@2.0.0 No license field. > ranger-build | [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: > fsevents@1.2.4 (node_modules/fsevents): > ranger-build | [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: > Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} > (current: {"os":"linux","arch":"x64"}) > ranger-build | [INFO] > ranger-build | [INFO] npm ERR! code ELIFECYCLE > ranger-build | [INFO] npm ERR! errno 1 > ranger-build | [INFO] npm ERR! phantomjs-prebuilt@2.1.16 install: `node > install.js` > ranger-build | [INFO] npm ERR! Exit status 1 > ranger-build | [INFO] npm ERR! > ranger-build | [INFO] npm ERR! Failed at the phantomjs-prebuilt@2.1.16 > install script. > ranger-build | [INFO] npm ERR! This is probably not a problem with npm. > There is likely additional logging output above. > ranger-build | [INFO] > ranger-build | [INFO] npm ERR! A complete log of this run can be found in: > ranger-build | [INFO] npm ERR! > /home/ranger/.npm/_logs/2023-11-25T19_25_13_719Z-debug.log > ranger-build | [INFO] > ------------------------------------------------------------------------ > {noformat} > [~mugdha.varadkar], [~ankita], [~pradeep], [~mehul] - can you please help > resolve this issue? -- This message was sent by Atlassian Jira (v8.20.10#820010)