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

zeppelin-web: grunt cannot find modules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 0.5.6
    • None
    • zeppelin-server

    Description

      I am trying to compile Zeppelin-0.5.6 so I can work with Spark 1.6.0.
      I run into errors with zeppelin-web and zeppelin-server (will report zeppelin-server separately).

      I login with my userid (mma) and execute this command from my home directory:
      time sudo -i /home/mma/buildZeppelin.sh | tee debug.log

      <BEGIN buildZeppelin SCRIPT CONTENTS>
      cd /home/mma/git/incubator-zeppelin

      1. use this line to start from scratch
        #mvn clean package -DskipTests -Pspark-1.6 -Phadoop-2.6 -Pyarn -Ppyspark
      1. use this line to debug
      2. mvn clean package -e -X -DskipTests -Pspark-1.6 -Phadoop-2.6 -Pyarn -Ppyspark
      1. use this line to restart at the zeppelin-web directory
        mvn clean package -e -X -fae -DskipTests -Pspark-1.6 -Phadoop-2.6 -Pyarn -Ppyspark -rf :zeppelin-web

      <END buildZeppelin SCRIPT CONTENTS>

      All goes well until I get to zeppelin-web and zeppelin-server.

      zeppelin-web error messages:
      [INFO] — frontend-maven-plugin:0.0.23:grunt (grunt build) @ zeppelin-web —
      [DEBUG] Configuring mojo com.github.eirslett:frontend-maven-plugin:0.0.23:grunt from plugin realm ClassRealm[plugin>com.github.eirslett:frontend-maven-plugin:0.0.23, parent: sun.misc.Launcher$AppClassLoader@53d9f80]
      [DEBUG] Configuring mojo 'com.github.eirslett:frontend-maven-plugin:0.0.23:grunt' with basic configurator -->
      [DEBUG] (f) arguments = --no-color
      [DEBUG] (f) skip = false
      [DEBUG] (f) triggerfiles = []
      [DEBUG] (f) workingDirectory = /home/mma/git/incubator-zeppelin/zeppelin-web
      [DEBUG] – end configuration –
      [INFO] Running 'grunt --no-color' in /home/mma/git/incubator-zeppelin/zeppelin-web
      [INFO] Loading "dom_munger.js" tasks...ERROR
      [INFO] >> Error: Cannot find module 'domutils'
      [INFO] Loading "connect.js" tasks...ERROR
      [INFO] >> Error: Cannot find module 'cookie-signature'
      [INFO] Loading "ng-annotate.js" tasks...ERROR
      [INFO] >> Error: Cannot find module 'simple-fmt'
      [INFO] Loading "Gruntfile.js" tasks...ERROR
      [INFO] >> Error: Cannot find module 'browserslist'
      [INFO] Warning: Task "default" not found. Use --force to continue.
      [INFO]
      [INFO] Aborted due to warnings.

      ...

      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:
      grunt (grunt build) on project zeppelin-web:
      Failed to run task: 'grunt --no-color' failed. (error code 3) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException:
      Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:
      grunt (grunt build) on project zeppelin-web:
      Failed to run task

      Attachments

        Activity

          People

            Unassigned Unassigned
            mmasigung@gmail.com Jeff Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: