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

Aatlas-dashboardv2: Failed to run task: 'grunt build-minify' failed.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.0
    • None
    • atlas-webui
    • None
    • Linux Centos 7

    Description

      I did build Atlas 2.0 in a Linux environment.

      but UI fail to build.

       

      Original source is : http://apache.tt.co.kr/atlas/2.0.0/apache-atlas-2.0.0-sources.tar.gz

       

      [INFO] Apache Atlas Repository 2.0.0 ...................... SUCCESS [ 16.154 s]
       [INFO] Apache Atlas UI 2.0.0 .............................. FAILURE [ 10.067 s]
       [INFO] Apache Atlas Web Application 2.0.0 ................. SKIPPED
       [INFO] Apache Atlas Documentation 2.0.0 ................... SKIPPED
       [INFO] Apache Atlas FileSystem Model 2.0.0 ................ SKIPPED
       [INFO] Apache Atlas Plugin Classloader 2.0.0 .............. SKIPPED
       [INFO] Apache Atlas Hive Bridge Shim 2.0.0 ................ SKIPPED
       [INFO] Apache Atlas Hive Bridge 2.0.0 ..................... SKIPPED
       [INFO] Apache Atlas Falcon Bridge Shim 2.0.0 .............. SKIPPED
       [INFO] Apache Atlas Falcon Bridge 2.0.0 ................... SKIPPED
       [INFO] Apache Atlas Sqoop Bridge Shim 2.0.0 ............... SKIPPED
       [INFO] Apache Atlas Sqoop Bridge 2.0.0 .................... SKIPPED
       [INFO] Apache Atlas Storm Bridge Shim 2.0.0 ............... SKIPPED
       [INFO] Apache Atlas Storm Bridge 2.0.0 .................... SKIPPED
       [INFO] Apache Atlas Hbase Bridge Shim 2.0.0 ............... SKIPPED
       [INFO] Apache Atlas Hbase Bridge 2.0.0 .................... SKIPPED
       [INFO] Apache HBase - Testing Util 2.0.0 .................. SKIPPED
       [INFO] Apache Atlas Kafka Bridge 2.0.0 .................... SKIPPED
       [INFO] Apache Atlas Distribution 2.0.0 .................... SKIPPED
       [INFO] ------------------------------------------------------------------------
       [INFO] BUILD FAILURE
       [INFO] ------------------------------------------------------------------------
       [INFO] Total time: 01:44 min
       [INFO] Finished at: 2020-06-18T16:52:55+09:00
       [INFO] ------------------------------------------------------------------------
       [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:grunt (grunt dist) on project atlas-dashboardv2: Failed to run task: 'grunt build-minify' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [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
       [ERROR]
       [ERROR] After correcting the problems, you can resume the build with the command
       [ERROR] mvn <args> -rf :atlas-dashboardv2
      
      

       
      detail is

      [INFO]
      [INFO] --- frontend-maven-plugin:1.4:npm (npm install) @ atlas-dashboardv2 ---
      [WARNING] npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
      [WARNING] npm WARN deprecated libcipm@1.6.3: This version mistakenly dropped node@4 compatibility in a semver-patch release. Please stay on 1.6.2 or update to 2 or latest
      [WARNING] npm WARN deprecated npm-registry-fetch@1.1.1: this version has a breaking change. use 1.1.0 or upgrade to latest
      [WARNING] npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      [WARNING] npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
      [INFO]
      [INFO] > core-js@2.6.11 postinstall /home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/core-js
      [INFO] > node -e "try{require('./postinstall')}catch(e){}"
      [INFO]
      [ERROR] npm notice created a lockfile as package-lock.json. You should commit this file.
      [INFO] added 620 packages in 8.979s
      [INFO]
      [INFO] --- frontend-maven-plugin:1.4:grunt (grunt dist) @ atlas-dashboardv2 ---
      [INFO] Running 'grunt build-minify' in /home/brightics/BDH/packages/atlas/dashboardv2/target
      [ERROR] module.js:538
      [ERROR]     throw err;
      [ERROR]     ^
      [ERROR]
      [ERROR] Error: Cannot find module '/home/brightics/BDH/packages/atlas/dashboardv2/target/node_modules/grunt-cli/bin/grunt'
      [ERROR]     at Function.Module._resolveFilename (module.js:536:15)
      [ERROR]     at Function.Module._load (module.js:466:25)
      [ERROR]     at Function.Module.runMain (module.js:676:10)
      [ERROR]     at startup (bootstrap_node.js:187:16)
      [ERROR]     at bootstrap_node.js:608:3
      [INFO] ---------------------------------
      

       and maven, npm, node are installed aleady.

      that version info below.

      [my@dp01:atlas] mvn -version
      Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      Maven home: /usr/local/maven
      Java version: 1.8.0_181, vendor: Azul Systems, Inc., runtime: /home/brightics/BDH/packages/java/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "linux", version: "3.10.0-1062.12.1.el7.x86_64", arch: "amd64", family: "unix"
      [my@dp01:atlas] npm -v
      6.14.4
      [my@dp01:atlas] node -v
      v12.18.0
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            MinSung MinSung
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: