Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4572

Compiling Error- Frontend Maven Plugin: Bower Install Failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 0.10.2, 0.10.3
    • None
    • UI
    • None

    Description

      Running the below command to compile the master , 0.10.2,0.10.3 branches,

      command

      mvn clean install  -Dtar -Pgpg -Paws -Pazure -Psources -DskipITs -DskipTests  --pl :tez-ui 

      hitting the below 

      [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. 

      Complete trace:

      [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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            basapuram.kumar Basapuram Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: