You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by jeff saremi <je...@hotmail.com> on 2017/01/31 08:12:26 UTC

build of ambari-web on Windows fails with so many errors

I'm still running this unverified command line:

mvn -B clean install package -DnewVersion=2.4.2.0.0 -DskipTests -Dpython.ver="python >= 2.6" -P windows
in admin mode on windows 10.

Nodejs/npm/brunch are installed.

Too many build issues get reported by brunch and these errors show up on the console. Did i miss a pre-requisite?


[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (compile-brunch) @ ambari-web ---
00:05:23 - warn: config.files.stylesheets.defaultExtension: perhaps you meant defaultExtensions
00:05:23 - warn: config.files.templates.defaultExtension: perhaps you meant defaultExtensions
00:05:23 - warn: config.files.templates.paths: perhaps you meant order
00:05:23 - warn: Loading of ember-precompiler-brunch failed due to Setter must have exactly one formal parameter.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:26 - info: compiling
00:05:29 - warn: C:/Users/jesaremi/AppData/Roaming/npm/node_modules/brunch/node_modules/process/browser.js compiled, but not written. Check your javascripts.joinTo config
00:05:29 - error: Compiling of app/styles/alerts.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/config_history_flow.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/modal_popups.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/common.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/log_file_search.less failed.
   deps.concat is not a function
...
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Processing of test/views/main/service/widgets/create/wizard_view_test.js failed.
   Could not load module '/views/main/service/widgets/create/wizard_view' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/widgets/create'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:31 - info: compiling.
00:05:32 - info: compiled 946 files into 4 files, copied 318 in 10.3 sec
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------



Re: build of ambari-web on Windows fails with so many errors

Posted by jeff saremi <je...@hotmail.com>.
so one of the errors is about this non-existing template:

  templateName:require('templates/main/admin/audit'),


here's the error:

Could not load module 'templates/main/admin/audit' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/app/views/common'. Possible solution: add 'templates' to package.json and `npm install`.


If i look at the files under app/templates/main there is no "audit"


But then I cannot explain all other ones. has anyone successfully compiled this version on any platform?


   Could not load module 'templates/main/admin/audit' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/app/views/common'. Possible solution: add 'templates' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/flume_test.js failed.
   Could not load module '/views/main/service/services/flume' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/hdfs_test.js failed.
   Could not load module '/views/main/service/services/hdfs' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/hbase_test.js failed.
   Could not load module '/views/main/service/services/hbase' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/mapreduce2_test.js failed.
   Could not load module '/views/main/service/services/mapreduce2' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/oozie_test.js failed.
   Could not load module '/views/main/service/services/oozie' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/hive_test.js failed.
   Could not load module '/views/main/service/services/hive' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/storm_test.js failed.
   Could not load module '/views/main/service/services/storm' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/zookeeper_test.js failed.
   Could not load module '/views/main/service/services/zookeeper' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/ranger_test.js failed.
   Could not load module '/views/main/service/services/ranger' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/services/yarn_test.js failed.
   Could not load module '/views/main/service/services/yarn' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/services'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/widgets/create/step1_view_test.js failed.
   Could not load module '/views/main/service/widgets/create/step1_view' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/widgets/create'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/widgets/create/step2_view_test.js failed.
   Could not load module '/views/main/service/widgets/create/step2_view' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/widgets/create'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/widgets/create/wizard_view_test.js failed.
   Could not load module '/views/main/service/widgets/create/wizard_view' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/widgets/create'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:19:16 - error: Processing of test/views/main/service/widgets/create/step3_view_test.js failed.
   Could not load module '/views/main/service/widgets/create/step3_view' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/widgets/create'. Possible solution: add '' to package.json and `npm install`.



________________________________
From: jeff saremi <je...@hotmail.com>
Sent: Tuesday, January 31, 2017 12:12 AM
To: user@ambari.apache.org
Subject: build of ambari-web on Windows fails with so many errors


I'm still running this unverified command line:

mvn -B clean install package -DnewVersion=2.4.2.0.0 -DskipTests -Dpython.ver="python >= 2.6" -P windows
in admin mode on windows 10.

Nodejs/npm/brunch are installed.

Too many build issues get reported by brunch and these errors show up on the console. Did i miss a pre-requisite?


[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (compile-brunch) @ ambari-web ---
00:05:23 - warn: config.files.stylesheets.defaultExtension: perhaps you meant defaultExtensions
00:05:23 - warn: config.files.templates.defaultExtension: perhaps you meant defaultExtensions
00:05:23 - warn: config.files.templates.paths: perhaps you meant order
00:05:23 - warn: Loading of ember-precompiler-brunch failed due to Setter must have exactly one formal parameter.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:26 - info: compiling
00:05:29 - warn: C:/Users/jesaremi/AppData/Roaming/npm/node_modules/brunch/node_modules/process/browser.js compiled, but not written. Check your javascripts.joinTo config
00:05:29 - error: Compiling of app/styles/alerts.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/config_history_flow.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/modal_popups.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/common.less failed.
   deps.concat is not a function
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Compiling of app/styles/log_file_search.less failed.
   deps.concat is not a function
...
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:29 - error: Processing of test/views/main/service/widgets/create/wizard_view_test.js failed.
   Could not load module '/views/main/service/widgets/create/wizard_view' from 'D:/Users/jesaremi/Downloads/apache-ambari-2.4.2-src/ambari-web/test/views/main/service/widgets/create'. Possible solution: add '' to package.json and `npm install`.
Stack trace was suppressed. Run with `LOGGY_STACKS=true` to see the trace.
00:05:31 - info: compiling.
00:05:32 - info: compiled 946 files into 4 files, copied 318 in 10.3 sec
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------