Hi,
I remember getting this error on windows. Its was resolved by running npm
manually as recommended in the links you shared.
In your case the ENOENT error from npm in the clue. ENOENT means that there was
some problem crating a file/directory and later parts of the installed could
not find that file/directory. You can check the downloaded gz and tar files.
May be the download was corrupted.
The relevant lines are:
(Snippet form npm-debug.log, that you shared)
{
25617 error tar pack Error reading
/home/iqdev/tmp/npm-99211-rrCpxaFt/1430491127837-0.24665557988919318/package
25618 silly lockFile 41bcc7aa-7837-0-24665557988919318-package
tar:///home/iqdev/tmp/npm-99211-rrCpxaFt/1430491127837-0.24665557988919318/package
25619 silly lockFile 41bcc7aa-7837-0-24665557988919318-package
tar:///home/iqdev/tmp/npm-99211-rrCpxaFt/1430491127837-0.24665557988919318/package
25620 error Error: ENOENT, lstat
'/home/iqdev/tmp/npm-99211-rrCpxaFt/1430491127997-0.06967048114165664/package/LICENSE'
}
Regards,
Prajod
From: Игорь Колодкин [mailto:[email protected]]
Sent: 01 May 2015 20:25
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!
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com