You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jaimin D Jetly (JIRA)" <ji...@apache.org> on 2016/05/12 21:59:13 UTC

[jira] [Commented] (AMBARI-15966) ambari-web 2.2.1 build error

    [ https://issues.apache.org/jira/browse/AMBARI-15966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282130#comment-15282130 ] 

Jaimin D Jetly commented on AMBARI-15966:
-----------------------------------------

[~rsk13th] [~skrho]

Please use following links to install all the dependencies needed to compile ambari-web:
https://cwiki.apache.org/confluence/display/AMBARI/Coding+Guidelines+for+Ambari

Please use follow the steps given in following link for compiling  ambari-web using brunch:
https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Development

I have following ambari-web dev environment that works for me:
node --version: v0.10.44
npm --version: 2.15.1
brunch version: 1.7.20  


> ambari-web 2.2.1 build error
> ----------------------------
>
>                 Key: AMBARI-15966
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15966
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.2.1
>            Reporter: skrho
>            Assignee: Yusaku Sako
>             Fix For: 2.4.0
>
>
> Hi Everyone~~ 
> Now I am building the ambari-web 2.2.1 version
> My Environment is 
> npm : 3.8.7
> node : 4.4.3
> brunch : 2.5.3
> I have a problem when building .. 
> I just command
> # $apache-ambari-2.2.1-src/ambari-web]#brunch build -d
> There is error message
>   brunch:config Trying to load brunch-config +0ms
>   brunch:config Trying to load config +5ms
> 19 Apr 08:26:28 - warn: config.files.stylesheets.defaultPaths was removed
> 19 Apr 08:26:28 - warn: config.files.templates.defaultPaths was removed
> 19 Apr 08:26:28 - error: Initialization error - You probably need to execute `npm install` to install brunch plugins. SyntaxError: Setter must have exactly one formal parameter.
>   at /usr/lib/node_modules/brunch/lib/plugins.js:101:17
>   at Array.map (native)
>   at deps.filter.dependency.map (/usr/lib/node_modules/brunch/lib/plugins.js:88:8)
>   at packages.filter.plugins.map.plugin.filter.deps.filter.allPlugins.filter (/usr/lib/node_modules/brunch/lib/plugins.js:108:19)
>   at Object.packages.filter.plugins.map.plugin.filter.deps.filter.exports.init.plugins.filter.map.preCompilers.push.teardownBrunch [as init] (/usr/lib/node_modules/brunch/lib/plugins.js:131:20)
>   at /usr/lib/node_modules/brunch/lib/watch.js:101:19
> Please Help me~
> What can I do that?
> In advanced Thank you everyone



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)