Uh oh!
There was an error while loading. Please reload this page.
Install guide modifications based on recent build attempts - #543
Conversation
Some additional npm install dependencies I found when doing a fresh installation.
dcardon
commented
Dec 16, 2015
What is this PR for?A minor (but hopefully useful to others) documentation change. What type of PR is it?Documentation TodosN/A Is there a relevant Jira issue?No How should this be tested?Someone else could test this on a fresh VM / server. Screenshots (if appropriate)N/A Questions:
|
There was a problem hiding this comment.
Technically, neither node, nor npm or
grunt-cli https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/package.json#L29
or bower https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/package.json#L10
are required to be installed manually on the environment, as they all are beeing taken care of by mvn package in zeppelin-web through the frontend-maven-pluging and there is a ./grunt wrapper for manual run too
There was a problem hiding this comment.
Unfortunately, this was not my experience. I followed these instructions on a fresh CentOS 7 install and the zeppelin-web module build failed without the npm install steps. Are you saying that it should work if you remove the sudo apt-get install npm step?
There was a problem hiding this comment.
Thank you for sharing the experience!
What I was trying to say is that mvn package was designed to build zeppelin on clean environment, including web application, without requirements to have node.js&npm pre-installed there.
If it does not work like that on some environments - it has to be a bug well worth firing a JIRA issue.
Having those things installed sounds like a reasonable workaround to me in such cases.
There was a problem hiding this comment.
Thanks! I totally agree it would be better to have these install automatically--I'll look and see if I can modify the pom.xml to get that working without the additional steps.
jeffsteinmetz
commented
Dec 20, 2015
If you follow the virtual machine instructions here, it installs with all required dependencies. https://zeppelin.incubator.apache.org/docs/0.6.0-incubating-SNAPSHOT/install/virtual_machine.html |
dcardon
commented
Dec 21, 2015
Thanks, @jeffsteinmetz! I didn't know that guide existed. I did run into issues running this on Windows, but eventually this does work (after manual Ansible installation within the VM itself). I retried my previous install attempt, this time on a clean CentOS 7 install and it looks like the embedded bower and grunt installs contain hidden |
jeffsteinmetz
commented
Dec 22, 2015
We could reference this VM guide earlier in the Zeppelin documentation. Let me know if you think there is a documentation location at the top of the project that you feel would be beneficial. Also, could you let me know what version of Windows you were running when you installed Vagrant, Virtual Box and Ansible? If it warrants additional research, we could test the VM installation steps on the specific version of Windows and improve the documentation. What version of Ansible does your Window host machine (not VM) report? |
felixcheung
commented
Mar 4, 2016
@dcardon@jeffsteinmetz where are we on this? |
dcardon
commented
Mar 4, 2016
Thanks for following up, @felixcheung! I've modified the changes to only call out the possible need to run I think it's worthwhile to keep this documented because:
The Ansible VM on Windows is a separate issue that isn't part of the PR. |
jeffsteinmetz
commented
Mar 4, 2016
I too confirmed, the build runs in the VM without NPM / Node installed. The VM installs node and ruby (ruby for docs only) so that a developer can build and test updates to their code outside of the Maven workflow. Let me know if you think there is a documentation location at the top of the project that you feel would be beneficial. |
close#83close#86close#125close#133close#139close#146close#193close#203close#246close#262close#264close#273close#291close#299close#320close#347close#389close#413close#423close#543close#560close#658close#670close#728close#765close#777close#782close#783close#812close#822close#841close#843close#878close#884close#918close#989close#1076close#1135close#1187close#1231close#1304close#1316close#1361close#1385close#1390close#1414close#1422close#1425close#1447close#1458close#1466close#1485close#1492close#1495close#1497close#1536close#1545close#1561close#1577close#1600close#1603close#1678close#1695close#1739close#1748close#1765close#1767close#1776close#1783close#1799
I found that an install on a fresh VM didn't succeed without a few global npm installations and without telling git to used https instead of git (optional depending on your network).