Hi
Someone has reported an issue building the BTM UI on windows:
[INFO] > bufferutil(a)1.2.1 install D:\Hawkular_SetUp_New\Latest_Hawkular\gbrown\h
awkular-btm-master\hawkular-btm-master\ui\target\gulp-build\node_modules\gulp-pr
otractor\node_modules\protractor\node_modules\selenium-webdriver\node_modules\ws
\node_modules\bufferutil
[INFO] > node-gyp rebuild
[INFO]
[INFO]
[INFO] D:\Hawkular_SetUp_New\Latest_Hawkular\gbrown\hawkular-btm-master\hawkular
-btm-master\ui\target\gulp-build\node_modules\gulp-protractor\node_modules\protr
actor\node_modules\selenium-webdriver\node_modules\ws\node_modules\bufferutil>if
not defined npm_config_node_gyp (node "D:\Hawkular_SetUp_New\Latest_Hawkular\gb
rown\hawkular-btm-master\hawkular-btm-master\ui\target\gulp-build\node\node_modu
les\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )
else (node rebuild )
[ERROR] gyp ERR! configure error
[ERROR] gyp ERR! stack Error: Can't find Python executable "python", you can
set
the PYTHON env variable.
[ERROR] gyp ERR! stack at failNoPython (D:\Hawkular_SetUp_New\Latest_Hawkula
r\gbrown\hawkular-btm-master\hawkular-btm-master\ui\target\gulp-build\node\node_
modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
[ERROR] gyp ERR! stack at D:\Hawkular_SetUp_New\Latest_Hawkular\gbrown\hawku
lar-btm-master\hawkular-btm-master\ui\target\gulp-build\node\node_modules\npm\no
de_modules\node-gyp\lib\configure.js:71:11
[ERROR] gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
[ERROR] gyp ERR! System Windows_NT 6.1.7601
[ERROR] gyp ERR! command "D:\\Hawkular_SetUp_New\\Latest_Hawkular\\gbrown\\hawku
lar-btm-master\\hawkular-btm-master\\ui\\target\\gulp-build\\node\\node.exe"
"D:
\\Hawkular_SetUp_New\\Latest_Hawkular\\gbrown\\hawkular-btm-master\\hawkular-btm
-master\\ui\\target\\gulp-build\\node\\node_modules\\npm\\node_modules\\node-gyp
\\bin\\node-gyp.js" "rebuild"
[ERROR] gyp ERR! cwd D:\Hawkular_SetUp_New\Latest_Hawkular\gbrown\hawkular-btm-m
aster\hawkular-btm-master\ui\target\gulp-build\node_modules\gulp-protractor\node
_modules\protractor\node_modules\selenium-webdriver\node_modules\ws\node_modules
\bufferutil
[ERROR] gyp ERR! node -v v4.2.2
[ERROR] gyp ERR! node-gyp -v v3.0.3
[ERROR] gyp ERR! not ok
Seems like a known issue (e.g.
https://github.com/niallobrien/generator-gulp-foundation/issues/13) with some possible
workarounds, by installing various other components, but was just wondering if anyone
knows of a better/simple workaround? Not sure if we can remove the use of node-gyp as I
guess it is used by the frontend-maven-plugin?
Regards
Gary