Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5071

Appears when building zeppelin-web:'npm run build:dist' failed.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • zeppelin-web
    • MavenVersion:Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      JavaVersion:1.8.0_141
      OSVersion:Centos7.3

      npmVersion:3.10.10
      nodeVersion:v6.17.1

    • Important

    Description

      When you use root user to build zepeelin on Linux host, because bower does not support root user execution, an exception will be thrown:

      [ERROR] npm ERR! code ELIFECYCLE
      [ERROR] npm ERR! errno 3
      [ERROR] npm ERR! zeppelin-web@0.0.0 build:dist: `npm-run-all prebuild && grunt pre-webpack-dist && webpack && grunt post-webpack-dist`
      [ERROR] npm ERR! Exit status 3
      [ERROR] npm ERR!
      [ERROR] npm ERR! Failed at the zeppelin-web@0.0.0 build:dist script.
      [ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      [ERROR]
      [ERROR] npm ERR! A complete log of this run can be found in:
      [ERROR] npm ERR!     /root/.npm/_logs/2020-09-25T18_56_09_331Z-debug.log
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  01:22 min
      [INFO] Finished at: 2020-09-26T02:56:09+08:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm build) on project zeppelin-web: Failed to run task: 'npm run build:dist' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 3 (Exit value: 3) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm build) on project zeppelin-web: Failed to run task
      
      
      

      Attachments

        1. 1.png
          125 kB
          XinxingWang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m