Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25251

frontend-maven-plugin executable.npm should be yarn

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0, 2.7.3
    • Fix Version/s: None
    • Component/s: ambari-web
    • Labels:
      None
    • Environment:

      ambari version:2.7.3

      env :  bash run start-build-env.sh, (a pure dev env)

      Description

      sinece 2.6.x, ambari-web module had used the frontend-maven-plugin with yarn, but, in which "executable.npm" was still here.

      it causes building error like :

      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (ambari-web unit tests) on project ambari-web: Command execution failed.: Cannot run program "npm" (in directory "/home/ubuntu/src/ambari-web"): error=2, No such file or directory -> [Help 1]

       

      It's absolutely response this error !

        Attachments

          Activity

            People

            • Assignee:
              bekisz Szabolcs Beki
              Reporter:
              HarryNiu Huawei Niu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: