You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Huawei Niu (JIRA)" <ji...@apache.org> on 2019/04/16 09:58:00 UTC

[jira] [Created] (AMBARI-25251) frontend-maven-plugin executable.npm should be yarn

Huawei Niu created AMBARI-25251:
-----------------------------------

             Summary: frontend-maven-plugin executable.npm should be yarn
                 Key: AMBARI-25251
                 URL: https://issues.apache.org/jira/browse/AMBARI-25251
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.6.0, 2.7.3
         Environment: ambari version:2.7.3

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


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 :
{code:java}
[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]{code}
 

It's absolutely response this error !



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)