Pierre,

Thanks for the heads up. I verified this build on OSX, Windows 10, and
Linux but unfortunately each of my environments had Git so this was missed.
I've created a JIRA [1] to investigate a little more and/or update the
documentation where appropriate. Thanks.

Matt

[1] https://issues.apache.org/jira/browse/NIFI-1846

On Wed, May 4, 2016 at 6:29 AM, Pierre Villard <[email protected]>
wrote:

> Hi guys,
>
> Following the commit NIFI-1782 yesterday, I was not able to build because
> of the following error:
>
> [INFO] --- frontend-maven-plugin:1.0:npm (install bower) @ nifi-web-ui ---
> [INFO] Running 'npm install bower' in
>
> D:\GitHub\nifi\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-web\nifi-web-ui\target\nifi-web-ui-1.0.0-SNAPSHOT\assets
> [ERROR] npm http GET https://registry.npmjs.org/bower
> [ERROR] npm http 200 https://registry.npmjs.org/bower
> [ERROR] npm http GET https://registry.npmjs.org/bower/-/bower-1.7.9.tgz
> [ERROR] npm http 200 https://registry.npmjs.org/bower/-/bower-1.7.9.tgz
> [INFO] [email protected] node_modules\bower
> [INFO]
> [INFO] --- frontend-maven-plugin:1.0:bower (bower install) @ nifi-web-ui
> ---
> [INFO] Running 'bower install ../../../src/main/frontend
>
> --config.directory=D:\GitHub\nifi\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-web\nifi-web-ui\target/nifi-we
> b-ui-1.0.0-SNAPSHOT/assets' in
>
> D:\GitHub\nifi\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-web\nifi-web-ui\target\nifi-web-ui-1.0.0-SNAPSHOT\assets
> [INFO] bower frontend#*                  copy
>
> D:\GitHub\nifi\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-web\nifi-web-ui\src\main\frontend
> [INFO] bower apache-nifi#*           resolved
>
> D:\GitHub\nifi\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-web\nifi-web-ui\src\main\frontend
> [ERROR] bower angular-route#^1.5.5      ENOGIT git is not installed or not
> in the PATH
>
> I added git in path and the build was OK.
>
> It was not required so far and I know that the Quickstart [1] suggest to
> have Git installed but for guys building sources under Windows, it could be
> interesting to mention that (because Github Desktop does not add git in
> Windows path).
>
> [1] https://nifi.apache.org/quickstart.html
>
> Pierre
>

Reply via email to