Jeff Richardson created ZEPPELIN-636:
----------------------------------------
Summary: zeppelin-web: grunt cannot find modules
Key: ZEPPELIN-636
URL: https://issues.apache.org/jira/browse/ZEPPELIN-636
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-server
Affects Versions: 0.5.6
Environment: This is my environment:
Fedora Core 20, 4GB RAM, 2 processors, VMware Workstation 11 image
Output from "git status"
On branch branch-0.5.6
Your branch is up-to-date with 'zeppelin/branch-0.5.6'.
These messages are printed by the compilation process:
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06;
2015-04-22T06:57:37-05:00)
Maven home: /usr/maven/apache-maven-3.3.3
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_80/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.19.8-100.fc20.x86_64", arch: "amd64", family:
"unix"
...
<npmVersion>1.3.8</npmVersion>
Reporter: Jeff Richardson
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
# use this line to start from scratch
#mvn clean package -DskipTests -Pspark-1.6 -Phadoop-2.6 -Pyarn -Ppyspark
# use this line to debug
# mvn clean package -e -X -DskipTests -Pspark-1.6 -Phadoop-2.6 -Pyarn
-Ppyspark
# 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)