[ https://issues.apache.org/jira/browse/AMBARI-20470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927246#comment-15927246 ]
Hudson commented on AMBARI-20470: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1266 (See [https://builds.apache.org/job/Ambari-branch-2.5/1266/]) AMBARI-20470. Ambari build fails at Files view.(jaimin) (jaimin: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8268b842ecf000264bd59699da5f59b449a2646c]) * (edit) contrib/views/files/src/main/resources/ui/package.json > Ambari build fails at Files view > -------------------------------- > > Key: AMBARI-20470 > URL: https://issues.apache.org/jira/browse/AMBARI-20470 > Project: Ambari > Issue Type: Bug > Components: ambari-views > Affects Versions: 2.5.0 > Reporter: Jaimin Jetly > Assignee: Jaimin Jetly > Fix For: 2.5.0 > > Attachments: AMBARI-20470.patch > > > Files view fails with below error: > {code} > /Users/Jaimin/vagrant/ambari-vagrant/centos6.4/gerrit/gerrit-ambari/contrib/views/files/src/main/resources/ui/node_modules/async-disk-cache/node_modules/username/index.js:2 > const os = require('os'); > ^^^^^ > Use of const in strict mode. > SyntaxError: Use of const in strict mode. > at Module._compile (module.js:439:25) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) > at Function.Module._load (module.js:312:12) > at Module.require (module.js:364:17) > at require (module.js:380:17) > at Object.<anonymous> > (/Users/Jaimin/vagrant/ambari-vagrant/centos6.4/gerrit/gerrit-ambari/contrib/views/files/src/main/resources/ui/node_modules/async-disk-cache/index.js:24:16) > at Module._compile (module.js:456:26) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)