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

frontend-maven-plugin executable.npm should be yarn

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 2.6.0, 2.7.3
    • None
    • ambari-web
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bekisz Szabolcs Beki
            HarryNiu Huawei Niu

            Dates

              Created:
              Updated:

              Slack

                Issue deployment