Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20470

Ambari build fails at Files view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-views
    • None

    Description

      Files view fails with below error:

      /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)
      

      Attachments

        1. AMBARI-20470.patch
          0.6 kB
          Jaimin Jetly

        Activity

          People

            jaimin Jaimin Jetly
            jaimin Jaimin Jetly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: