安装zeppelin时,报错,git没有安装。git安装后将其加入环境变量后,问题解决。
[INFO] Building Zeppelin: web Application 0.7.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ zeppelin-web ---
[INFO] Deleting C:\Users\yiming\Desktop\zeppelin-branch-0.7\zeppelin-web\target[INFO] Deleting C:\Users\yiming\Desktop\zeppelin-branch-0.7\zeppelin-web\node (includes = [], excludes = [])[INFO]
[INFO] --- flatten-maven-plugin:1.0.0:clean (flatten.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:1.3:install-node-and-yarn (install node and yarn) @ zeppelin-web ---
[INFO] Installing node version v6.9.1[INFO] Copying node binary from C:\Users\yiming\.m2\repository\com\github\eirslett\node\6.9.1\node-6.9.1-win-x64.exe to C:\Users\yiming\Desktop\zeppelin-branch-0.7\zeppelin-web\node\node.exe
[INFO] Installed node locally.[INFO] Installing Yarn version v0.28.1[INFO] Unpacking C:\Users\yiming\.m2\repository\com\github\eirslett\yarn\0.28.1\yarn-0.28.1.\yarn-v0.28.1.tar.gz into C:\Users\yiming\Desktop\zeppelin-branch-0.7\zeppelin-web\node\yarn
[INFO] Installed Yarn locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.3:install-node-and-npm (install node and yarn) @ zeppelin-web ---
[INFO] Node v6.9.1 is already installed.
[INFO] Installing npm version 4.2.0
[INFO] Unpacking C:\Users\yiming\.m2\repository\com\github\eirslett\npm\4.2.0\npm-4.2.0.tar.gz into C:\Users\yiming\Desktop\zeppelin-branch-0.7\zeppelin-web\node\node_modules
[INFO] Installed npm locally.
[INFO]
[INFO] --- frontend-maven-plugin:1.3:yarn (yarn install) @ zeppelin-web ---
[INFO] Running 'yarn install --no-lockfile' in C:\Users\yiming\Desktop\zeppelin-branch-0.7\zeppelin-web
[INFO] yarn install v0.28.1[INFO] [1/5] Validating package.json...
[INFO] [2/5] Resolving packages...
[WARNING] warning grunt-replace > applause > cson-parser > coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
[WARNING] warning grunt-wiredep > wiredep > glob > minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[WARNING] warning grunt-wiredep > wiredep > bower-config > graceful-fs@2.0.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
[WARNING] warning load-grunt-tasks > multimatch > minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[INFO] [3/5] Fetching packages...[WARNING] warning fsevents@1.1.3: The platform "win32" is incompatible with this module.
[INFO] info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] [4/5] Linking dependencies...[WARNING] warning "eslint-config-google@0.7.1" has incorrect peer dependency "eslint@>=3.8.1".
[WARNING] warning "ajv-keywords@1.5.1" has incorrect peer dependency "ajv@>=4.10.0".
[INFO] [5/5] Building fresh packages...[INFO] $ bower install --silent && grunt googlefonts[ERROR] [{
[ERROR] "code": "ENOGIT",
[ERROR] "data": {
[ERROR] "endpoint": {
[ERROR] "name": "angular",
[ERROR] "source": "angular",
[ERROR] "target": "1.5.0"
[ERROR] }
[ERROR] },
[ERROR] "id": "ENOGIT",
[ERROR] "level": "error",
[ERROR] "message": "git is not installed or not in the PATH",
[ERROR] "stacktrace": "Error: git is not installed or not in the PATH\n
[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: web Application .......................... FAILURE [04:47 min]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:48 min
[INFO] Finished at: 2018-04-19T21:09:31+08:00
[INFO] Final Memory: 26M/272M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "spark-1.6" could not be activated because it does not exist.
[WARNING] The requested profile "hadoop-2.6" could not be activated because it does not exist.
[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]
[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