[ https://issues.apache.org/jira/browse/TEZ-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena resolved TEZ-4572. ------------------------------- Resolution: Cannot Reproduce > Compiling Error- Frontend Maven Plugin: Bower Install Failure > -------------------------------------------------------------- > > Key: TEZ-4572 > URL: https://issues.apache.org/jira/browse/TEZ-4572 > Project: Apache Tez > Issue Type: Bug > Components: UI > Affects Versions: 0.10.2, 0.10.3 > Reporter: Basapuram Kumar > Priority: Minor > > Running the below command to compile the master , 0.10.2,0.10.3 branches, > command > {code:java} > mvn clean install -Dtar -Pgpg -Paws -Pazure -Psources -DskipITs -DskipTests > --pl :tez-ui {code} > hitting the below > {code:java} > [ERROR] Failed to execute goal > com.github.eirslett:frontend-maven-plugin:1.8.0:bower (bower install) on > project tez-ui: Failed to run task: 'bower install --allow-root=false' > failed. {code} > Complete trace: > {noformat} > [INFO] --- frontend-maven-plugin:1.8.0:bower (bower install) @ tez-ui --- > [INFO] Running 'bower install --allow-root=false' in > /root/basa/bk/tez/tez-ui/src/main/webapp > [INFO] bower ESUDO Cannot be run with sudo > [INFO] > [INFO] Additional error details: > [INFO] Since bower is a user command, there is no need to execute it with > superuser permissions. > [INFO] If you're having permission errors when using bower without sudo, > please spend a few minutes learning more about how your system should work > and make any necessary repairs. > [INFO] > [INFO] http://www.joyent.com/blog/installing-node-and-npm > [INFO] https://gist.github.com/isaacs/579814 > [INFO] > [INFO] You can however run a command with sudo using "--allow-root" option > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 2.041 s > [INFO] Finished at: 2024-06-24T19:49:59+02:00 > [INFO] > ------------------------------------------------------------------------ > [WARNING] The requested profile "gpg" could not be activated because it does > not exist. > [ERROR] Failed to execute goal > com.github.eirslett:frontend-maven-plugin:1.8.0:bower (bower install) on > project tez-ui: Failed to run task: 'bower install --allow-root=false' > failed. org.apache.commons.exec.ExecuteException: Process exited with an > error: 1 (Exit value: 1) -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug > logging.{noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)