Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2143

Atlas build failure in atlas-dashboardv2 due npm issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Atlas fresh build on master is failing due to following npm build issues.

      https://github.com/beautify-web/js-beautify/issues/1247

      [INFO] | +-- almond@0.3.3 
      [INFO] | `-- jquery-mousewheel@3.1.13 
      [INFO] `-- underscore@1.8.3 
      [INFO] 
      [ERROR] npm ERR! npm  v3.8.5
      [ERROR] npm ERR! path /home/nixon/createpatch/gerrit/atlas/dashboardv2/target/node_modules/js-beautify/js/bin/css-beautify.js
      [ERROR] npm ERR! code ENOENT
      [ERROR] npm ERR! errno -2
      [ERROR] npm ERR! syscall chmod
      [ERROR] 
      [ERROR] npm ERR! enoent ENOENT: no such file or directory, chmod '/home/nixon/createpatch/gerrit/atlas/dashboardv2/target/node_modules/js-beautify/js/bin/css-beautify.js'
      [ERROR] npm ERR! enoent ENOENT: no such file or directory, chmod '/home/nixon/createpatch/gerrit/atlas/dashboardv2/target/node_modules/js-beautify/js/bin/css-beautify.js'
      [ERROR] npm ERR! enoent This is most likely not a problem with npm itself
      [ERROR] npm ERR! enoent and is related to npm not being able to find a file.
      [ERROR] npm ERR! enoent 
      [ERROR] 
      [ERROR] npm ERR! Please include the following file with any support request:
      [ERROR] npm ERR!     /home/nixon/createpatch/gerrit/atlas/dashboardv2/target/npm-debug.log
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:24 min
      [INFO] Finished at: 2017-09-18T15:43:23+05:30
      [INFO] Final Memory: 23M/566M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.5:npm (npm install) on project atlas-dashboardv2: Failed to run task: 'npm install' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 254 (Exit value: 254) -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nixon Nixon Rodrigues
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: