You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Rajnish Garg <ra...@gmail.com> on 2017/01/27 16:58:41 UTC

Issue while building zeppelin ERROR: spawn npm ENOENT

I am using the following command to build zeppelin 0.8 on ubuntu

mvn clean package -Pbuild-distr -Pyarn -Pspark-1.6 -Dspark.version=1.6.0 -Phadoop-2.6 -Dhadoop.version=2.6.0-cdh5.9.0 -DskipTests -Pvendor-repo

I am getting following error:

[WARNING] warning Unmet peer dependency "eslint@>=3.8.1".
[INFO] [4/4] Building fresh packages...
[INFO] $ bower install --silent
[INFO] Done in 77.54s.
[INFO]
[INFO] --- frontend-maven-plugin:1.3:yarn (yarn build) @ zeppelin-web ---
[INFO] Running 'yarn run build' in /home/[USER]/zeppelin/zeppelin-web
[INFO] yarn run v0.18.1
[INFO] $ npm-run-all clean
[ERROR] ERROR: spawn npm ENOENT
[ERROR] error Command failed with exit code 1.
[INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Re: Issue while building zeppelin ERROR: spawn npm ENOENT

Posted by Ruslan Dautkhanov <da...@gmail.com>.
Rajnish,

On that error - it might be outdated version of npm or nodejs, I guess.

Here's my build command, in case if it's helpful:

/opt/maven/maven-latest/bin/mvn clean package -DskipTests -Pspark-1.6
-Ppyspark -Dhadoop.version=2.6.0-cdh5.8.3 -Phadoop-2.6 -Pyarn -Pr
-Pvendor-repo -Pscala-2.10 -pl
'!alluxio,!flink,!ignite,!lens,!cassandra,!bigquery,!scio,!postgresql' -e

Hope this helps.




-- 
Ruslan Dautkhanov

On Fri, Jan 27, 2017 at 9:58 AM, Rajnish Garg <ra...@gmail.com>
wrote:

> I am using the following command to build zeppelin 0.8 on ubuntu
>
> mvn clean package -Pbuild-distr -Pyarn -Pspark-1.6 -Dspark.version=1.6.0
> -Phadoop-2.6 -Dhadoop.version=2.6.0-cdh5.9.0 -DskipTests -Pvendor-repo
>
> I am getting following error:
>
> [WARNING] warning Unmet peer dependency "eslint@>=3.8.1".
> [INFO] [4/4] Building fresh packages...
> [INFO] $ bower install --silent
> [INFO] Done in 77.54s.
> [INFO]
> [INFO] --- frontend-maven-plugin:1.3:yarn (yarn build) @ zeppelin-web ---
> [INFO] Running 'yarn run build' in /home/[USER]/zeppelin/zeppelin-web
> [INFO] yarn run v0.18.1
> [INFO] $ npm-run-all clean
> [ERROR] ERROR: spawn npm ENOENT
> [ERROR] error Command failed with exit code 1.
> [INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation
> about this command.
>