solved the problem.

traced the culprit to the .npm folder - for some reason, root owned the folders 
under it.  changed the ownership to my user and group and all the problems went 
away ….

SCott
Scott C. Cote
scottcc...@gmail.com
972.672.6484



> On Aug 14, 2016, at 12:35 AM, Scott C. Cote <scottcc...@gmail.com> wrote:
> 
> Hello,
> 
> I’m trying to make Zeppelin via git/maven on my macbook air and the install 
> fails with maven complaining at the “web application” project….
> 
> [INFO] Copying zeppelin-alluxio-0.7.0-SNAPSHOT.jar to 
> /Users/scottccote/DownloadInstalled/apache-zeppelin-0.6/zeppelin/alluxio/target/../../interpreter/alluxio/zeppelin-alluxio-0.7.0-SNAPSHOT.jar
> [INFO] 
> [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ 
> zeppelin-alluxio ---
> [INFO]                                                                        
>  
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Zeppelin: web Application 0.7.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ zeppelin-web ---
> [INFO] 
> [INFO] --- maven-checkstyle-plugin:2.13:check (checkstyle-fail-build) @ 
> zeppelin-web ---
> [INFO] 
> [INFO] 
> [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ 
> zeppelin-web ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 17 resources
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce) @ zeppelin-web ---
> [INFO] 
> [INFO] --- frontend-maven-plugin:0.0.25:install-node-and-npm (install node 
> and npm) @ zeppelin-web ---
> [INFO] Node v0.12.13 is already installed.
> [INFO] Found NPM version 2.15.0
> [INFO] 
> [INFO] --- frontend-maven-plugin:0.0.25:npm (npm install) @ zeppelin-web ---
> [INFO] Running 'npm install --color=false' in 
> /Users/scottccote/DownloadInstalled/apache-zeppelin-0.6/zeppelin/zeppelin-web
> [ERROR] npm ERR! Darwin 15.6.0
> [ERROR] npm ERR! argv 
> "/Users/scottccote/DownloadInstalled/apache-zeppelin-0.6/zeppelin/zeppelin-web/node/node"
>  
> "/Users/scottccote/DownloadInstalled/apache-zeppelin-0.6/zeppelin/zeppelin-web/node/node_modules/npm/bin/npm-cli.js"
>  "install" "--color=false"
> [ERROR] npm ERR! node v0.12.13
> [ERROR] npm ERR! npm  v2.15.0
> [ERROR] npm ERR! path /Users/scottccote/.npm/karma-jasmine/0.1.6
> [ERROR] npm ERR! code EACCES
> [ERROR] npm ERR! errno -13
> [ERROR] 
> [ERROR] npm ERR! Error: EACCES, mkdir 
> '/Users/scottccote/.npm/karma-jasmine/0.1.6'
> [ERROR] npm ERR!     at Error (native)
> [ERROR] npm ERR!  { [Error: EACCES, mkdir 
> '/Users/scottccote/.npm/karma-jasmine/0.1.6']
> [ERROR] npm ERR!   errno: -13,
> [ERROR] npm ERR!   code: 'EACCES',
> [ERROR] npm ERR!   path: '/Users/scottccote/.npm/karma-jasmine/0.1.6',
> [ERROR] npm ERR!   parent: 'zeppelin-web' }
> [ERROR] npm ERR! 
> [ERROR] npm ERR! Please try running this command again as root/Administrator.
> [ERROR] 
> [ERROR] npm ERR! Please include the following file with any support request:
> [ERROR] npm ERR!     
> /Users/scottccote/DownloadInstalled/apache-zeppelin-0.6/zeppelin/zeppelin-web/npm-debug.log
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Zeppelin ........................................... SUCCESS [  2.919 
> s]
> [INFO] Zeppelin: Interpreter .............................. SUCCESS [  9.682 
> s]
> [INFO] Zeppelin: Zengine .................................. SUCCESS [  5.980 
> s]
> [INFO] Zeppelin: Display system apis ...................... SUCCESS [ 13.025 
> s]
> [INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 28.592 
> s]
> [INFO] Zeppelin: Spark .................................... SUCCESS [ 24.361 
> s]
> [INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  0.380 
> s]
> [INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  0.284 
> s]
> [INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  0.522 
> s]
> [INFO] Zeppelin: Livy interpreter ......................... SUCCESS [  0.911 
> s]
> [INFO] Zeppelin: HBase interpreter ........................ SUCCESS [  4.984 
> s]
> [INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [  0.574 
> s]
> [INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [  1.863 
> s]
> [INFO] Zeppelin: File System Interpreters ................. SUCCESS [  1.380 
> s]
> [INFO] Zeppelin: Flink .................................... SUCCESS [  7.251 
> s]
> [INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [  1.209 
> s]
> [INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  0.615 
> s]
> [INFO] Zeppelin: Python interpreter ....................... SUCCESS [  0.588 
> s]
> [INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  3.467 
> s]
> [INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [ 48.392 
> s]
> [INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [  2.647 
> s]
> [INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [  0.871 
> s]
> [INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [  3.012 
> s]
> [INFO] Zeppelin: web Application .......................... FAILURE [  2.455 
> s]
> [INFO] Zeppelin: Server ................................... SKIPPED
> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 02:46 min
> [INFO] Finished at: 2016-08-14T00:18:46-05:00
> [INFO] Final Memory: 171M/888M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> com.github.eirslett:frontend-maven-plugin:0.0.25:npm (npm install) on project 
> zeppelin-web: Failed to run task: 'npm install --color=false' failed. (error 
> code 243) -> [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 
> <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
> 
> 
> Here are my verifications of requirements.
> 
> Scotts-Air:zeppelin-web scottccote$ java -version
> java version "1.8.0_45"
> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
> 
> 
> Scotts-Air:zeppelin-web scottccote$ brew install fontconfig
> Warning: fontconfig-2.11.1_4 already installed
> 
> 
> 
> Scotts-Air:zeppelin-web scottccote$ git --version
> git version 1.8.4
> 
> 
> Scotts-Air:zeppelin scottccote$ mvn -version
> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 
> 2014-12-14T11:29:23-06:00)
> Maven home: /usr/local/Cellar/maven/3.2.5/libexec
> Java version: 1.8.0_45, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: “mac"
> 
> 
> Scotts-Air:zeppelin scottccote$ node --version
> v6.3.1
> 
> 
> How do I get around the NPM problem?
> 
> 
> SCott
> Scott C. Cote
> scottcc...@gmail.com <mailto:scottcc...@gmail.com>
> 972.672.6484
> 
> 
> 

Reply via email to