You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Pierre Villard <pi...@gmail.com> on 2016/05/04 10:29:20 UTC

Build requires git in path

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] bower@1.7.9 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

Re: Build requires git in path

Posted by Pierre Villard <pi...@gmail.com>.
Matt,

Yes it was easy to miss! I was quite "lucky" not to have git in my windows
path.

Thanks for the JIRA
Pierre


2016-05-04 13:43 GMT+02:00 Matt Gilman <ma...@gmail.com>:

> 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 <
> pierre.villard.fr@gmail.com>
> 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] bower@1.7.9 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
> >
>

Re: Build requires git in path

Posted by Matt Gilman <ma...@gmail.com>.
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 <pi...@gmail.com>
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] bower@1.7.9 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
>