Jeff Saremi created AMBARI-19801:
------------------------------------
Summary: Build fails for Ambari Web 2.4.2.0.0 on Windows
Key: AMBARI-19801
URL: https://issues.apache.org/jira/browse/AMBARI-19801
Project: Ambari
Issue Type: Bug
Components: ambari-web
Affects Versions: 2.4.2
Environment: Windows 10
Reporter: Jeff Saremi
build fails on ambari-web:
[INFO] Ambari Main ........................................ SUCCESS [ 2.940 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.044 s]
[INFO] Ambari Web ......................................... FAILURE [ 51.552 s]
D:\Users\jesaremi\Downloads\apache-ambari-2.4.2-src\ambari-web\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws>if
not defined npm_config_node_gyp (node
"C:\Users\jesaremi\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js"
rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
bufferutil.cc
..\src\bufferutil.cc(118): warning C4506: no definition for inline function
'v8::Persistent<v8::Object>
v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)'
[D:\Users\jesaremi\Downloads\apache-ambari-2.4.2-src\ambari-web\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.vcxproj]
win_delay_load_hook.c
C:\Users\jesaremi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34):
error C2373: '__pfnDliNotifyHook2': redefinition; different type modifiers
[D:\Users\jesaremi\Downloads\apache-ambari-2.4.2-src\ambari-web\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\bufferutil.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'
validation.cc
..\src\validation.cc(146): warning C4506: no definition for inline function
'v8::Persistent<v8::Object>
v8::Persistent<v8::Object>::New(v8::Handle<v8::Object>)'
[D:\Users\jesaremi\Downloads\apache-ambari-2.4.2-src\ambari-web\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\validation.vcxproj]
win_delay_load_hook.c
C:\Users\jesaremi\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\src\win_delay_load_hook.c(34):
error C2373: '__pfnDliNotifyHook2': redefinition; different type modifiers
[D:\Users\jesaremi\Downloads\apache-ambari-2.4.2-src\ambari-web\node_modules\karma\node_modules\socket.io\node_modules\socket.io-client\node_modules\ws\build\validation.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\delayimp.h(134): note: see declaration of '__pfnDliNotifyHook2'
My Environment:
VisualStudio 2015 - Have tried this using an x64 and an x86 command prompt.
they both fail
node --version
v0.10.44
npm --version
2.15.1
brunch --version
1.7.20
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)