Andrew Psaltis created NIFI-2781:
------------------------------------

             Summary: Broken bower install
                 Key: NIFI-2781
                 URL: https://issues.apache.org/jira/browse/NIFI-2781
             Project: Apache NiFi
          Issue Type: Bug
          Components: Tools and Build
    Affects Versions: 1.0.0
            Reporter: Andrew Psaltis


Often times when building the NiFi source, the installation of bower fails and 
thus the whole build fails. 

Looking at a mvn debug log, appears to show this:

[INFO] Running 'npm install bower' in 
/Users/apsaltis/development/forked-nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/target/frontend-working-directory
[WARNING] npm WARN package.json mqlight@1.0.2016051011 No repository field.
[ERROR] npm http GET https://registry.npmjs.org/bower
[ERROR] npm http 200 https://registry.npmjs.org/bower
[INFO] bower@1.7.9 ../../../../../../../../../node_modules/bower
[INFO] 
[INFO] --- frontend-maven-plugin:1.0:bower (bower-install) @ nifi-web-ui ---

In essence nothing is there. This is reproducible in my environment, which 
looks like this:


$ printenv
TERM_PROGRAM=iTerm.app
TERM=xterm
SHELL=/bin/bash
TMPDIR=/var/folders/5l/xlzh00b10_lf16cd06dqwvs40000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.jdxbKLHhHZ/Render
TERM_PROGRAM_VERSION=3.0.7
OLDPWD=/Users/apsaltis/development/forked-nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui
TERM_SESSION_ID=w0t0p1:4401C1E6-AF27-43E2-91BF-7814B628BEC1
USER=apsaltis
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.VHh1dBoww3/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
PATH=/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sb...
PWD=/Users/apsaltis/development/forked-nifi
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home
LANG=en_US.UTF-8
ITERM_PROFILE=Default
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/apsaltis
COLORFGBG=7;0
ITERM_SESSION_ID=w0t0p1:4401C1E6-AF27-43E2-91BF-7814B628BEC1
LOGNAME=apsaltis
_=/usr/bin/printenv





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to