Github user lwmonster commented on the issue:

    https://github.com/apache/zeppelin/pull/2002
  
    Now it is 2017-09-20, and I cloned the master branch, and it still have 
error:
    ```
    [INFO] [4/4] Building fresh packages...
    [INFO] $ bower install --silent
    [ERROR] [{
    [ERROR]   "code": "ESUDO",
    [ERROR]   "details": "Since bower is a user command, there is no need to 
execute it with superuser permissions.\nIf you're having permission errors when 
using bower without sudo, pleas
    e spend a few minutes learning more about how your system should work and 
make any necessary 
repairs.\n\nhttp://www.joyent.com/blog/installing-node-and-npm\nhttps://gist.github.com/isa
    acs/579814\n\nYou can however run a command with sudo using --allow-root 
option",
    [ERROR]   "id": "ESUDO",
    [ERROR]   "level": "error",
    [ERROR]   "data": {},
    [ERROR]   "message": "Cannot be run with sudo",
    [ERROR]   "stacktrace": "Error: Cannot be run with sudo\n    at createError 
(/root/software/zeppelin-master/zeppelin-web/node_modules/bower/lib/util/createError.js:4:15)\n
    at rootCh
    eck 
(/root/software/zeppelin-master/zeppelin-web/node_modules/bower/lib/util/rootCheck.js:26:24)\n
    at Object.<anonymous> 
(/root/software/zeppelin-master/zeppelin-web/node_modules/bo
    wer/lib/bin/bower.js:33:1)\n    at Module._compile (module.js:570:32)\n    
at Object.Module._extensions..js (module.js:579:10)\n    at Module.load 
(module.js:487:32)\n    at tryModuleL
    oad (module.js:446:12)\n    at Function.Module._load (module.js:438:3)\n    
at Module.require (module.js:497:17)\n    at require (internal/module.js:20:19)"
    [ERROR] }]
    [ERROR] error Command failed with exit code 1.
    [INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation 
about this command.
    [INFO] 
------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] Zeppelin ........................................... SUCCESS [  
2.472 s]
    [INFO] Zeppelin: Interpreter .............................. SUCCESS [  
5.529 s]
    [INFO] Zeppelin: Display system apis ...................... SUCCESS [  
9.437 s]
    [INFO] Zeppelin: Python interpreter ....................... SUCCESS [01:20 
min]
    [INFO] Zeppelin: Spark .................................... SUCCESS [ 
19.324 s]
    [INFO] Zeppelin: Zengine .................................. SUCCESS [  
6.182 s]
    [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 
39.089 s]
    [INFO] Zeppelin: Groovy interpreter ....................... SUCCESS [  
0.269 s]
    [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  
0.482 s]
    [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  
0.292 s]
    [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  
0.392 s]
    [INFO] Zeppelin: Livy interpreter ......................... SUCCESS [  
2.483 s]
    [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [ 
10.656 s]
    [INFO] Zeppelin: Apache Pig Interpreter ................... SUCCESS [  
6.431 s]
    [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [  
0.862 s]
    [INFO] Zeppelin: File System Interpreters ................. SUCCESS [  
0.906 s]
    [INFO] Zeppelin: Flink .................................... SUCCESS [  
4.536 s]
    [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [  
1.260 s]
    [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  
0.659 s]
    [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  
6.755 s]
    [INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [ 
35.240 s]
    [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [  
2.318 s]
    [INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [  
3.289 s]
    [INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [  
1.814 s]
    [INFO] Zeppelin: Scio ..................................... SUCCESS [ 
26.458 s]
    [INFO] Zeppelin: web Application .......................... FAILURE [01:04 
min]
    [INFO] Zeppelin: Server ................................... SKIPPED
    [INFO] Zeppelin: Jupyter Support .......................... SKIPPED
    [INFO] Zeppelin: Packaging distribution ................... SKIPPED
    [INFO] 
------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 05:32 min
    [INFO] Finished at: 2017-09-20T05:09:38Z
    [INFO] Final Memory: 519M/2922M
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:1.3:yarn (yarn install) on project 
zeppelin-web: Failed to run task: 'yarn install --no-lockfile' failed. (error 
code 1) -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal com.github.eirslett:frontend-maven-plugin:1.3:yarn (yarn install) on 
project zeppelin-web: Failed to run task
            at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
            at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
    ```


---

Reply via email to