[
https://issues.apache.org/jira/browse/AMBARI-25251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435041#comment-17435041
]
Andrey Emelyanenko commented on AMBARI-25251:
---------------------------------------------
facing the same error while running tests:
{code:java}
[INFO] Ambari Web 2.7.5.3.6.0.0-1 ......................... FAILURE [ 42.387 s]
[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
"/var/lib/jenkins_slave/workspace/P-3259_fix_VersionDefinitionTest/ambari-web"):
error=2, No such file or directory -> [Help 1]
{code}
> 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
> Assignee: Szabolcs Beki
> Priority: Blocker
>
> 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
(v8.3.4#803005)