Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, neither
node, nornpmorgrunt-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 packagein zeppelin-web through the frontend-maven-pluging and there is a./gruntwrapper for manual run tooThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 npmstep?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for sharing the experience!
What I was trying to say is that
mvn packagewas 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I totally agree it would be better to have these install automatically--I'll look and see if I can modify the
pom.xmlto get that working without the additional steps.