I got this error and did this, it worked.

$npm config set strict-ssl false
$npm config set registry "http://registry.npmjs.org/";
$npm config set proxy http://<username>:<password>@prox_hostname:port
$npm config set https-proxy http://<username>:<password>@prox_hostname:port

and Add this in .bowerrc

{
    "proxy":" http://<username>:<password>@prox_hostname:port",
    "https-proxy http://<username>:<password>@prox_hostname:port"
}




From: Игорь Колодкин [mailto:[email protected]]
Sent: Friday, May 01, 2015 7:55 AM
To: [email protected]
Subject: Installing errors on ubuntu

Can't install zeppelin
My system:
Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-33-generic ppc64le)

Test Requirements Steps
java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

mvn -v
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 
19:22:22+0400)
Maven home: /usr/local/apache-maven/apache-maven-3.1.1
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-ppc64el/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-33-generic", arch: "ppc64", family: "unix"

git --version
git version 1.9.1

Then install npm and nodejs
sudo apt-get npm
sudo apt-get nodejs
sudo apt-get nodejs-legacy

nodejs -v
v0.10.25
node -v
v0.10.25
npm -v
1.3.10

Installing steps:
git clone https://github.com/apache/incubator-zeppelin.git
cd incubator-zeppelin/
mvn clean package -DskipTests
at the end of Logging I get this:

[INFO] Zeppelin .......................................... SUCCESS [4.386s]
[INFO] Zeppelin: Interpreter ............................. SUCCESS [11.707s]
[INFO] Zeppelin: Zengine ................................. SUCCESS [5.373s]
[INFO] Zeppelin: Spark ................................... SUCCESS [22.749s]
[INFO] Zeppelin: Markdown interpreter .................... SUCCESS [1.943s]
[INFO] Zeppelin: Angular interpreter ..................... SUCCESS [1.888s]
[INFO] Zeppelin: Shell interpreter ....................... SUCCESS [2.544s]
[INFO] Zeppelin: Hive interpreter ........................ SUCCESS [2.632s]
[INFO] Zeppelin: Tajo interpreter ........................ SUCCESS [2.642s]
[INFO] Zeppelin: web Application ......................... FAILURE [9.840s]
[INFO] Zeppelin: Server .................................. SKIPPED
[INFO] Zeppelin: Packaging distribution .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:06.065s
[INFO] Finished at: Fri May 01 17:07:36 MSK 2015
[INFO] Final Memory: 72M/303M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:0.0.23:npm (npm install) on project 
zeppelin-web: Failed to run task: 'npm install --color=false' failed. (error 
code 2) -> [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 <goals> -rf :zeppelin-web

Following this 
discusion<https://groups.google.com/forum/#!topic/zeppelin-developers/cSi_FB4iD8g>
I did
cd zeppelin-web/
sudo npm install --color=false

And then I get this 
errors<https://raw.githubusercontent.com/IgorKolodkin/SparkProject/master/sudo%20npm%20install%20--color%3Dfalse%20ERROR?token=AI25lucLqrl1UyfrR8w6ax-nT4tzFzDQks5VTM25wA%3D%3D>
Here is a  
npm-debug.log<https://raw.githubusercontent.com/IgorKolodkin/SparkProject/master/npm-debug.log?token=AI25lsNbT0yzxlUb-oabD3YHa6rMV2uWks5VTMvLwA%3D%3D>

Can somebody has any idea what is the cause for that?

Thanks!

Reply via email to