[
https://issues.apache.org/jira/browse/AMBARI-25251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17372529#comment-17372529
]
tianhua commented on AMBARI-25251:
----------------------------------
ambari-web module used lower version frontend-maven-plugin, maybe it's time to
upgrade to 1.6
> 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)