h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.78k stars 1.99k forks source link

H2O build instructions missing bower dependency #12455

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

I remember this being an issue pretty much any time I've tried to build H2O on a new machine (usually mac?), and other people have reported this issue as well. We have a missing dependency on the H2O-3 build instructions -- bower.

{code}

Task :h2o-web:installNpmPackages up to date in 0.842s :h2o-web:installNpmPackages took 1.576 secs

Task :h2o-web:installBowerPackages FAILED node_modules/.bin/bower: line 1: ../bower/bin/bower: No such file or directory

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 22s 48 actionable tasks: 48 executed

Task timings: 8.855 secs :h2o-core:compileJava 3.412 secs :h2o-algos:compileJava 2.684 secs :h2o-genmodel-ext-xgboost:shadowJar 1.576 secs :h2o-web:installNpmPackages 0.598 secs :h2o-core:jar 0.557 secs :h2o-ext-xgboost:compileJava 0.550 secs :h2o-genmodel:compileJava 2.719 secs All others me$ which bower me$ which node /usr/local/bin/node {code}

To solve: {code} brew install bower {code}

Still fails:

{code}

Task :h2o-web:installNpmPackages up to date in 0.795s :h2o-web:installNpmPackages took 1.495 secs

Task :h2o-web:installBowerPackages FAILED node_modules/.bin/bower: line 1: ../bower/bin/bower: No such file or directory

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 19s 48 actionable tasks: 48 executed

Task timings: 8.926 secs :h2o-core:compileJava 2.554 secs :h2o-genmodel-ext-xgboost:shadowJar 2.048 secs :h2o-algos:compileJava 1.495 secs :h2o-web:installNpmPackages 0.636 secs :h2o-ext-xgboost:compileJava 0.591 secs :h2o-core:jar 0.334 secs :h2o-automl:compileJava 2.230 secs All others {code} Do this and then it works: {code} me$ rm -rf node_modules me$ npm install {code}

hasithjp commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-5594 Assignee: Erin LeDell Reporter: Erin LeDell State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A