Huizhi Lu created EAGLE-357:
-------------------------------
Summary: Building failed:
Key: EAGLE-357
URL: https://issues.apache.org/jira/browse/EAGLE-357
Project: Eagle
Issue Type: Bug
Affects Versions: v0.4.0
Environment: node v6.3.0
npm v3.10.3
Reporter: Huizhi Lu
Assignee: Jilin, Jiang
Fix For: v0.4.0
Building failed at eagle-webservice.
grunt building...
> ApacheEagleWebApp@ grunt
> /Users/hnlu/apache-eagle/incubator-eagle/eagle-webservice/src/main/webapp
> grunt
Running "jshint:all" (jshint) task
app/public/feature/common/controller.js
710 | if(!_cond_window) {
^ '_cond_window' used out of scope.
721 | var winCells =
cond_window.match(/\.(\w+)\((.*)\)/);
^ '_cond_window'
used out of scope.
729 | if(_cond_group) {
^ '_cond_group' used out of
scope.
730 | $scope.policy.__.group =
_cond_groupUnit[3];
^
'_cond_groupUnit' used out of scope.
731 | $scope.policy.__.groupAgg =
_cond_groupUnit[0];
^
'_cond_groupUnit' used out of scope.
732 | $scope.policy.__.groupAggPath
= _cond_groupUnit[1];
^ '_cond_groupUnit' used out of scope.
733 | $scope.policy.__.groupAggAlias
= cond_groupUnit[4] === "aggValue" ? "" : cond_groupUnit[4];
^ '_cond_groupUnit' used out of scope.
733 | $scope.policy.__.groupAggAlias
= cond_groupUnit[4] === "aggValue" ? "" : cond_groupUnit[4];
^ '_cond_groupUnit' used out of
scope.
734 | $scope.policy.__.groupCondOp =
_cond_groupUnit[5];
^ '_cond_groupUnit' used out of scope.
735 | $scope.policy.__.groupCondVal
= _cond_groupUnit[6];
^ '_cond_groupUnit' used out of scope.
>> 10 errors in 29 files
Warning: Task "jshint:all" failed. Use --force to continue.
Aborted due to warnings.
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/Cellar/node/6.3.0/bin/node" "/usr/local/bin/npm"
"run" "grunt"
npm ERR! node v6.3.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! ApacheEagleWebApp@ grunt: `grunt`
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the ApacheEagleWebApp@ grunt script 'grunt'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ApacheEagleWebApp
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ApacheEagleWebApp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ApacheEagleWebApp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
/Users/hnlu/apache-eagle/incubator-eagle/eagle-webservice/src/main/webapp/npm-debug.log
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)