Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is node-gyp supposed to work with node 4.0/4.1 #736

Closed
yfuks opened this issue Sep 18, 2015 · 41 comments
Closed

Is node-gyp supposed to work with node 4.0/4.1 #736

yfuks opened this issue Sep 18, 2015 · 41 comments
Labels

Comments

@yfuks
Copy link

yfuks commented Sep 18, 2015

I have tried to build npm modules (socket.io, heapdump and other) on Windows 7 x64 with VS 2010 Express.
Previously with NodeJS 0.12.7 it worked perfectly.
But after upgrading to Node 4.1.0 and NPM 3.0.3 i won't able to compile anything.

After reading lot of tickets and checking my configuration: python, Visual studio, ... trying hundreds of I have the question : is node-gyp supposed to work with node 4.0 ?

c:\www\node-heapdump>node-gyp configure build
gyp info it worked if it ends with ok
gyp info using node-gyp@3.0.3
gyp info using node@4.1.0 | win32 | x64
gyp info spawn python
gyp info spawn args [ 'C:\\Program Files\\nodejs\\node_modules\\node-gyp\\gyp\\gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'msvs',
gyp info spawn args   '-G',
gyp info spawn args   'msvs_version=auto',
gyp info spawn args   '-I',
gyp info spawn args   'c:\\www\\node-heapdump\\build\\config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Program Files\\nodejs\\node_modules\\node-gyp\\addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   'C:\\Users\\MARCEL\\.node-gyp\\4.1.0\\include\\node\\common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=C:\\Users\\MARCEL\\.node-gyp\\4.1.0',
gyp info spawn args   '-Dnode_gyp_dir=C:\\Program Files\\nodejs\\node_modules\\node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args   '-Dmodule_root_dir=c:\\www\\node-heapdump',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'c:\\www\\node-heapdump\\build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/clp:Verbosity=minimal',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64' ]
Génération des projets individuellement dans cette solution. Pour activer la génération en parallèle, ajoutez
le commutateur "/m".
  heapdump.cc
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(336): error C2988: unrecognizable template declaration/defi
nition [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(336): error C2059: syntax error : 'using' [c:\www\node-heap
dump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(469): error C2988: unrecognizable template declaration/defi
nition [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(469): error C2059: syntax error : 'using' [c:\www\node-heap
dump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(472): error C2332: 'enum' : missing tag name [c:\www\node-h
eapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(472): error C3306: 'v8::<unnamed-tag>': unnamed class templ
ate is not allowed [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(472): error C2236: unexpected 'class' 'v8::WeakCallbackType
'. Did you forget a ';'? [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(472): error C3381: 'v8::WeakCallbackType' : assembly access
 specifiers are only available in code compiled with a /clr option [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(576): error C2061: syntax error : identifier 'WeakCallbackT
ype' [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(642) : see reference to class template instantiat
  ion 'v8::PersistentBase<T>' being compiled
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(637): error C2253: 'PersistentBase<T>' : pure specifier or
abstract override specifier only allowed on virtual function [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(844): error C2253: 'Global<T>' : pure specifier or abstract
 override specifier only allowed on virtual function [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(847) : see reference to class template instantiat
  ion 'v8::Global<T>' being compiled
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(852): error C2988: unrecognizable template declaration/defi
nition [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(852): error C2059: syntax error : 'using' [c:\www\node-heap
dump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(915): error C2989: 'v8::HandleScope' : class template has a
lready been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(319) : see declaration of 'v8::HandleScope'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(949): error C2989: 'v8::EscapableHandleScope' : class templ
ate has already been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(135) : see declaration of 'v8::EscapableHandleSco
  pe'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(979): error C2989: 'v8::Data' : class template has already
been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(74) : see declaration of 'v8::Data'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(1118): error C2989: 'v8::Script' : class template has alrea
dy been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(96) : see declaration of 'v8::Script'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(1559): error C2989: 'v8::StackTrace' : class template has a
lready been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(101) : see declaration of 'v8::StackTrace'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(1622): error C2989: 'v8::StackFrame' : class template has a
lready been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(100) : see declaration of 'v8::StackFrame'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2031): error C2989: 'v8::Value' : class template has alread
y been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(108) : see declaration of 'v8::Value'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2037): error C2989: 'v8::Primitive' : class template has al
ready been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(93) : see declaration of 'v8::Primitive'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2052): error C2989: 'v8::Boolean' : class template has alre
ady been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(70) : see declaration of 'v8::Boolean'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2072): error C2989: 'v8::Name' : class template has already
 been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(86) : see declaration of 'v8::Name'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2075): error C2332: 'enum' : missing tag name [c:\www\node-
heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2075): error C3306: 'v8::<unnamed-tag>': unnamed class temp
late is not allowed [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2075): error C2236: unexpected 'class' 'v8::NewStringType'.
 Did you forget a ';'? [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2075): error C3381: 'v8::NewStringType' : assembly access s
pecifiers are only available in code compiled with a /clr option [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2439): error C2989: 'v8::String' : class template has alrea
dy been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(102) : see declaration of 'v8::String'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2477): error C2989: 'v8::Symbol' : class template has alrea
dy been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(104) : see declaration of 'v8::Symbol'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2491): error C2989: 'v8::Number' : class template has alrea
dy been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(87) : see declaration of 'v8::Number'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2506): error C2989: 'v8::Integer' : class template has alre
ady been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(82) : see declaration of 'v8::Integer'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2520): error C2989: 'v8::Int32' : class template has alread
y been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(81) : see declaration of 'v8::Int32'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2534): error C2989: 'v8::Uint32' : class template has alrea
dy been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(106) : see declaration of 'v8::Uint32'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2942): error C2989: 'v8::Object' : class template has alrea
dy been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(89) : see declaration of 'v8::Object'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(2971): error C2989: 'v8::Array' : class template has alread
y been declared as a non-class template [c:\www\node-heapdump\build\addon.vcxproj]
          c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(69) : see declaration of 'v8::Array'
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3181): error C2504: 'v8::Object' : base class undefined [c:
\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3188): error C2061: syntax error : identifier 'FunctionCall
back' [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3190): error C2059: syntax error : ')' [c:\www\node-heapdum
p\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3190): error C2143: syntax error : missing ')' before ';' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3194): error C2061: syntax error : identifier 'FunctionCall
back' [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3194): error C2059: syntax error : ')' [c:\www\node-heapdum
p\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3194): error C2143: syntax error : missing ')' before ';' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3205): error C2059: syntax error : 'return' [c:\www\node-he
apdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3205): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3210): error C2146: syntax error : missing ';' before ident
ifier 'Call' [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3216): error C2270: 'GetName' : modifiers not allowed on no
nmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3224): error C2270: 'GetInferredName' : modifiers not allow
ed on nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3230): error C2270: 'GetDisplayName' : modifiers not allowe
d on nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3236): error C2270: 'GetScriptLineNumber' : modifiers not a
llowed on nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3241): error C2270: 'GetScriptColumnNumber' : modifiers not
 allowed on nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3246): error C2270: 'IsBuiltin' : modifiers not allowed on
nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3251): error C2270: 'ScriptId' : modifiers not allowed on n
onmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3257): error C2270: 'GetBoundFunction' : modifiers not allo
wed on nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3259): error C2270: 'GetScriptOrigin' : modifiers not allow
ed on nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3263): error C2059: syntax error : 'private' [c:\www\node-h
eapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3264): error C2059: syntax error : ')' [c:\www\node-heapdum
p\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3273): error C2504: 'Object' : base class undefined [c:\www
\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3275): error C2504: 'Object' : base class undefined [c:\www
\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3281): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3281): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3281): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3281): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3282): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3282): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3282): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3283): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3288): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3288): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3288): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3294): error C2061: syntax error : identifier 'Local' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3296): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3296): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3296): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3298): error C2061: syntax error : identifier 'Local' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3300): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3300): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3300): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3302): error C2061: syntax error : identifier 'Value' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3306): error C2061: syntax error : identifier 'Value' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3316): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3316): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3316): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3317): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3317): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3318): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3321): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3321): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3321): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3322): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3322): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3323): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3326): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3326): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3326): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3327): error C2143: syntax error : missing ';' before '<' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3327): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3328): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3336): error C2061: syntax error : identifier 'Value' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3340): error C2061: syntax error : identifier 'Value' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3350): error C2332: 'enum' : missing tag name [c:\www\node-
heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3350): error C2236: unexpected 'class' 'ArrayBufferCreation
Mode'. Did you forget a ';'? [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3350): error C3381: 'ArrayBufferCreationMode' : assembly ac
cess specifiers are only available in code compiled with a /clr option [c:\www\node-heapdump\build\addon.vcxp
roj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3350): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3350): error C2143: syntax error : missing ';' before '}' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3350): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3357): error C2504: 'Object' : base class undefined [c:\www
\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3374): error C2628: 'ArrayBuffer::Allocator' followed by 'v
oid' is illegal (did you forget a ';'?) [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3400): error C3861: 'data_': identifier not found [c:\www\n
ode-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3400): error C2461: 'Contents' : constructor syntax missing
 formal parameters [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3400): error C2059: syntax error : 'constant' [c:\www\node-
heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3400): error C4430: missing type specifier - int assumed. N
ote: C++ does not support default-int [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3400): error C2143: syntax error : missing ';' before '{' [
c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3400): error C2334: unexpected token(s) preceding '{'; skip
ping apparent function body [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3402): error C2059: syntax error : 'return' [c:\www\node-he
apdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3402): error C2238: unexpected token(s) preceding ';' [c:\w
ww\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3403): error C2146: syntax error : missing ';' before ident
ifier 'ByteLength' [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3403): error C2270: 'ByteLength' : modifiers not allowed on
 nonmember functions [c:\www\node-heapdump\build\addon.vcxproj]
c:\users\marcel\.node-gyp\4.1.0\include\node\v8.h(3403): fatal error C1003: error count exceeds 100; stopping
 compilation [c:\www\node-heapdump\build\addon.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\node-gyp\\bin
\\node-gyp.js" "configure" "build"
gyp ERR! cwd c:\www\node-heapdump
gyp ERR! node -v v4.1.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
@bnoordhuis
Copy link
Member

They work but you need VS 2013 or 2015 for the C++11 support.

@BujiasBitwise
Copy link

Just wanted to say I am having exactly the same problem, and I am using VS 2015 in windows 10

@bnoordhuis
Copy link
Member

@killerjk If you're getting the exact same error then logically you're not using VS 2015. If you have (or have had) older VS versions installed, you may have to set GYP_MSVS_VERSION=2015 in the environment or pass --msvs_version=2015 to node-gyp.

@dbrugne
Copy link

dbrugne commented Sep 19, 2015

Maybe it could be interesting to have a VS detection done by node-gyp module on Windows systems. A kind of pre-build check.
I'm sure the maintainers of this module are better than lot of us to understand the Visual Studio versions mess.

@BujiasBitwise
Copy link

Thanks @bnoordhuis, that helped.

@bnoordhuis
Copy link
Member

Maybe it could be interesting to have a VS detection done by node-gyp module on Windows systems. A kind of pre-build check.

@dbrugne It does, but it sometimes detects the wrong version if more than one version is (or has been) installed.

@vitaly-t
Copy link

I don't think this is a Windows-only issue. I'm seeing the same on Linux, in other packages that have dependency on node-gyp, and thus fail, like node-postgres. Here's the error log

@mstrutt
Copy link

mstrutt commented Sep 24, 2015

I managed to get this working on Linux, had to set the value of PYTHONPATH for it to work:

export PYTHONPATH=/usr/lib/python2.7/

Hope that helps / sheds some light.

@Strutsagget
Copy link

I get this on mac too and i have python in my path already.

@ighsbuildaccount
Copy link

please help me,I am getting this error

D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\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.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1578,5): warning MSB3101: Could not write state file "Release\obj\validation\validation.vcxprojResolveAssemblyReference.cache". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
validation.cc
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(336): error C2988: unrecognizable template declaration/definition [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(336): error C2059: syntax error : 'using' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(469): error C2988: unrecognizable template declaration/definition [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(469): error C2059: syntax error : 'using' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(472): error C2332: 'enum' : missing tag name [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(472): error C3306: 'v8::': unnamed class template is not allowed [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(472): error C2236: unexpected 'class' 'v8::WeakCallbackType'. Did you forget a ';'? [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(472): error C3381: 'v8::WeakCallbackType' : assembly access specifiers are only available in code compiled with a /clr option [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(576): error C2061: syntax error : identifier 'WeakCallbackType' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(642) : see reference to class template instantiation 'v8::PersistentBase' being compiled
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(637): error C2253: 'PersistentBase' : pure specifier or abstract override specifier only allowed on virtual function [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(844): error C2253: 'Global' : pure specifier or abstract override specifier only allowed on virtual function [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(847) : see reference to class template instantiation 'v8::Global' being compiled
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(852): error C2988: unrecognizable template declaration/definition [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(852): error C2059: syntax error : 'using' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(915): error C2989: 'v8::HandleScope' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(319) : see declaration of 'v8::HandleScope'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(949): error C2989: 'v8::EscapableHandleScope' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(135) : see declaration of 'v8::EscapableHandleScope'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(979): error C2989: 'v8::Data' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(74) : see declaration of 'v8::Data'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(1118): error C2989: 'v8::Script' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(96) : see declaration of 'v8::Script'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(1559): error C2989: 'v8::StackTrace' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(101) : see declaration of 'v8::StackTrace'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(1622): error C2989: 'v8::StackFrame' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(100) : see declaration of 'v8::StackFrame'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2031): error C2989: 'v8::Value' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(108) : see declaration of 'v8::Value'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2037): error C2989: 'v8::Primitive' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(93) : see declaration of 'v8::Primitive'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2052): error C2989: 'v8::Boolean' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(70) : see declaration of 'v8::Boolean'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2072): error C2989: 'v8::Name' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(86) : see declaration of 'v8::Name'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2075): error C2332: 'enum' : missing tag name [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2075): error C3306: 'v8::': unnamed class template is not allowed [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2075): error C2236: unexpected 'class' 'v8::NewStringType'. Did you forget a ';'? [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2075): error C3381: 'v8::NewStringType' : assembly access specifiers are only available in code compiled with a /clr option [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2439): error C2989: 'v8::String' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(102) : see declaration of 'v8::String'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2477): error C2989: 'v8::Symbol' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(104) : see declaration of 'v8::Symbol'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2491): error C2989: 'v8::Number' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(87) : see declaration of 'v8::Number'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2506): error C2989: 'v8::Integer' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(82) : see declaration of 'v8::Integer'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2520): error C2989: 'v8::Int32' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(81) : see declaration of 'v8::Int32'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2534): error C2989: 'v8::Uint32' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(106) : see declaration of 'v8::Uint32'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2942): error C2989: 'v8::Object' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(89) : see declaration of 'v8::Object'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(2971): error C2989: 'v8::Array' : class template has already been declared as a non-class template [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(69) : see declaration of 'v8::Array'
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3181): error C2504: 'v8::Object' : base class undefined [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3188): error C2061: syntax error : identifier 'FunctionCallback' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3190): error C2059: syntax error : ')' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3190): error C2143: syntax error : missing ')' before ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3194): error C2061: syntax error : identifier 'FunctionCallback' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3194): error C2059: syntax error : ')' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3194): error C2143: syntax error : missing ')' before ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3205): error C2059: syntax error : 'return' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3205): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3210): error C2146: syntax error : missing ';' before identifier 'Call' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3216): error C2270: 'GetName' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3224): error C2270: 'GetInferredName' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3230): error C2270: 'GetDisplayName' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3236): error C2270: 'GetScriptLineNumber' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3241): error C2270: 'GetScriptColumnNumber' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3246): error C2270: 'IsBuiltin' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3251): error C2270: 'ScriptId' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3257): error C2270: 'GetBoundFunction' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3259): error C2270: 'GetScriptOrigin' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3263): error C2059: syntax error : 'private' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3264): error C2059: syntax error : ')' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3273): error C2504: 'Object' : base class undefined [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3275): error C2504: 'Object' : base class undefined [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3281): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3281): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3281): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3281): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3282): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3282): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3282): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3283): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3288): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3288): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3288): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3294): error C2061: syntax error : identifier 'Local' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3296): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3296): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3296): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3298): error C2061: syntax error : identifier 'Local' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3300): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3300): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3300): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3302): error C2061: syntax error : identifier 'Value' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3306): error C2061: syntax error : identifier 'Value' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3316): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3316): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3316): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3317): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3317): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3318): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3321): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3321): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3322): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3322): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3323): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3326): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3326): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3326): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3327): error C2143: syntax error : missing ';' before '<' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3327): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3328): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3336): error C2061: syntax error : identifier 'Value' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3340): error C2061: syntax error : identifier 'Value' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3350): error C2332: 'enum' : missing tag name [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3350): error C2236: unexpected 'class' 'ArrayBufferCreationMode'. Did you forget a ';'? [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3350): error C3381: 'ArrayBufferCreationMode' : assembly access specifiers are only available in code compiled with a /clr option [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3350): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3350): error C2143: syntax error : missing ';' before '}' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3350): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3357): error C2504: 'Object' : base class undefined [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3374): error C2628: 'ArrayBuffer::Allocator' followed by 'void' is illegal (did you forget a ';'?) [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3400): error C3861: 'data_': identifier not found [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3400): error C2461: 'Contents' : constructor syntax missing formal parameters [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3400): error C2059: syntax error : 'constant' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3400): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3400): error C2143: syntax error : missing ';' before '{' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3400): error C2334: unexpected token(s) preceding '{'; skipping apparent function body [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3402): error C2059: syntax error : 'return' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3402): error C2238: unexpected token(s) preceding ';' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3403): error C2146: syntax error : missing ';' before identifier 'ByteLength' [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3403): error C2270: 'ByteLength' : modifiers not allowed on nonmember functions [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
C:\Users\service_dev66.node-gyp\4.1.0\include\node\v8.h(3403): fatal error C1003: error count exceeds 100; stopping compilation [D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate\build\validation.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\node_modules\webpack-dev-server\node_modules\socket.io-client\node_modules\engine.io-client\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v4.1.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing bufferutil@1.2.1
npm WARN optional dep failed, continuing fsevents@1.0.0
npm WARN optional dep failed, continuing utf-8-validate@1.2.1
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.1.0
npm ERR! npm v2.14.3
npm ERR! code ELIFECYCLE

npm ERR! contextify@0.1.14 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.14 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls contextify
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\Program Files (x86)\Jenkins\jobs\IGHSMobile_test\workspace\npm-debug.log
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE
Help us localize this page

@ighsbuildaccount
Copy link

Do i also need to install VS2015??I have old version 2010

@innay
Copy link

innay commented Sep 29, 2015

I have updated to node v4.1.1, trying to install 'ffi' and get a node-gyp error:
"..\src\binding.cc(6): fatal error C1083: Cannot open include file: 'node.h': No such file or directory [C:\Projects\loadDll\node_modules\ffi\node_modules\ref\build\binding.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:269:23)
".
I also have VS2010

@samuelfine
Copy link

This is what finally got node-gyp working with node v.4.1.1 for me. (Ubuntu 14.04)

sudo apt-get install g++
sudo apt-get install build-essential python2.7

@artem-vladimirov
Copy link

Same error for me on Ubuntu 14.04
Reinstalling gyp or python did not helped.

gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-65-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/darkest/projects/agnew/avtogid-node/node_modules/libxmljs
gyp ERR! node -v v4.1.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
npm ERR! Linux 3.13.0-65-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.1.1
npm ERR! npm  v2.14.4
npm ERR! code ELIFECYCLE

npm ERR! bcrypt@0.8.3 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the bcrypt@0.8.3 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

@rvagg
Copy link
Member

rvagg commented Oct 2, 2015

suto apt-get install g++ gyp

don't install gyp from the distro, node-gyp comes with one it should use, in fact, it's safest if you don't even have it installed.

@artem-vladimirov I believe your problem is that bcrypt@0.8.3 doesn't support Node.js v4+. It looks like it's only 0.8.5 that does at the moment so if that's a direct dependency of yours then just upgrade it, if it's a dependency of a dependency then you're going to have to hunt down the maintainer of that package and submit a pull request (or advocate for an existing PR) that updates the bcrypt dependency.

@codeuniquely
Copy link

Exactly the same problem with build using VS2015 on Windows 10 (x64)

environment variables have already the suggested values,

GYP_MSVS_VERSION=2015
PYTHON=e:\Python27\python.exe
PATH= ... ;C:\Program Files\nodejs\;E:\Python27\;C:\Users\steve\AppData\Roaming\npm; ...

npm -v
3.3.6

node -v
V4.1.2

The project is an existing project and it was building before the update to V4.1.2 (this morning) to allow the build of other projects.

@samuelfine
Copy link

@rvagg Ah, thanks for the heads up on that. Perhaps my issue was simply that I was missing g++. I've updated my comment to remove gyp, in the interest of preventing any future issues for other folks. :)

@mwain
Copy link

mwain commented Oct 15, 2015

Im having issues on Windows 8 when trying to install the latest bufferutil package at the node-gyp build stage.
See websockets/bufferutil/issues/18

Snippet from log:

C:\test\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\MichaelW.CHATSWORTH\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
C:\Users\MichaelW.CHATSWORTH\.node-gyp\4.2.1\include\node\v8.h(336): error C2988: unrecognizable template declaration/definition
[C:\test\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\MichaelW.CHATSWORTH\.node-gyp\4.2.1\include\node\v8.h(336): error C2059: syntax error : 'using' [C:\test\node_modules\bu fferutil\build\bufferutil.vcxproj]
C:\Users\MichaelW.CHATSWORTH\.node-gyp\4.2.1\include\node\v8.h(469): error C2988: unrecognizable template declaration/definition
[C:\test\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\MichaelW.CHATSWORTH\.node-gyp\4.2.1\include\node\v8.h(469): error C2059: syntax 
--- SNIP ---
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\MichaelW.CHATSWORTH\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\MichaelW.CHATSWORTH\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\test\node_modules\bufferutil
gyp ERR! node -v v4.2.1
gyp ERR! node-gyp -v v3.0.1
gyp ERR! not ok

@codeuniquely
Copy link

Still having this issue Windows 10, x64, Node 4.1.2

f:\Projects\web_ui>npm install
npm WARN install Couldn't install optional dependency: Unsupported

> bufferutil@1.2.1 install f:\Projects\web_ui\node_modules\bufferutil
> node-gyp rebuild

f:\Projects\web_ui\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\steve\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
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(336): error C2988: unrecognizable template declaration/definition [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(336): error C2059: syntax error : 'using' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(469): error C2988: unrecognizable template declaration/definition [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(469): error C2059: syntax error : 'using' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(576): error C2061: syntax error : identifier 'WeakCallbackType' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(642) : see reference to class template instantiation 'v8::PersistentBase<T>' being compiled
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(637): error C2253: 'PersistentBase<T>' : pure specifier or abstract override specifier only allowed on virtual function [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(844): error C2253: 'Global<T>' : pure specifier or abstract override specifier only allowed on virtual function [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(847) : see reference to class template instantiation 'v8::Global<T>' being compiled
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(852): error C2988: unrecognizable template declaration/definition [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(852): error C2059: syntax error : 'using' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(915): error C2989: 'v8::HandleScope' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(319) : see declaration of 'v8::HandleScope'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(949): error C2989: 'v8::EscapableHandleScope' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(135) : see declaration of 'v8::EscapableHandleScope'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(979): error C2989: 'v8::Data' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(74) : see declaration of 'v8::Data'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(1118): error C2989: 'v8::Script' : class template has already been declared as a non-class template[f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(96) : see declaration of 'v8::Script'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(1559): error C2989: 'v8::StackTrace' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(101) : see declaration of 'v8::StackTrace'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(1622): error C2989: 'v8::StackFrame' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(100) : see declaration of 'v8::StackFrame'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2031): error C2989: 'v8::Value' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(108) : see declaration of 'v8::Value'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2037): error C2989: 'v8::Primitive' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(93) : see declaration of 'v8::Primitive'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2052): error C2989: 'v8::Boolean' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(70) : see declaration of 'v8::Boolean'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2072): error C2989: 'v8::Name' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(86) : see declaration of 'v8::Name'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2439): error C2989: 'v8::String' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(102) : see declaration of 'v8::String'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2477): error C2989: 'v8::Symbol' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(104) : see declaration of 'v8::Symbol'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2491): error C2989: 'v8::Number' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(87) : see declaration of 'v8::Number'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2506): error C2989: 'v8::Integer' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(82) : see declaration of 'v8::Integer'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2520): error C2989: 'v8::Int32' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(81) : see declaration of 'v8::Int32'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2534): error C2989: 'v8::Uint32' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(106) : see declaration of 'v8::Uint32'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2942): error C2989: 'v8::Object' : class template has already been declared as a non-class template[f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(89) : see declaration of 'v8::Object'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(2971): error C2989: 'v8::Array' : class template has already been declared as a non-class template [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
          C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(69) : see declaration of 'v8::Array'
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3181): error C2504: 'v8::Object' : base class undefined [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3188): error C2061: syntax error : identifier 'FunctionCallback' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3194): error C2061: syntax error : identifier 'FunctionCallback' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3205): error C2059: syntax error : 'return' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3205): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3210): error C2146: syntax error : missing ';' before identifier 'Call' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3216): error C2270: 'GetName' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3224): error C2270: 'GetInferredName' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3230): error C2270: 'GetDisplayName' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3236): error C2270: 'GetScriptLineNumber' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3241): error C2270: 'GetScriptColumnNumber' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3246): error C2270: 'IsBuiltin' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3251): error C2270: 'ScriptId' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3257): error C2270: 'GetBoundFunction' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3259): error C2270: 'GetScriptOrigin' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3263): error C2059: syntax error : 'private' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3264): error C2059: syntax error : ')' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3273): error C2504: 'Object' : base class undefined [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3275): error C2504: 'Object' : base class undefined [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3281): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3281): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3281): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3282): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3282): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3283): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3288): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3288): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3288): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3294): error C2061: syntax error : identifier 'Local' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3296): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3296): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3296): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3298): error C2061: syntax error : identifier 'Local' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3300): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3300): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3300): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3302): error C2061: syntax error : identifier 'Value' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3306): error C2061: syntax error : identifier 'Value' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3316): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3316): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3316): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3317): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3317): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3318): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3321): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3321): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3321): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3322): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3322): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3323): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3326): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3326): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3326): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3327): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3327): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3328): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3336): error C2061: syntax error : identifier 'Value' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3340): error C2061: syntax error : identifier 'Value' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3357): error C2504: 'Object' : base class undefined [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3374): error C2628: 'ArrayBuffer::Allocator' followed by 'void' is illegal (did you forget a ';'?) [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3400): error C3861: 'data_': identifier not found [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3400): error C2461: 'Contents' : constructor syntax missing formal parameters [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3400): error C2059: syntax error : 'constant' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3400): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3400): error C2143: syntax error : missing ';' before '{' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3400): error C2334: unexpected token(s) preceding '{'; skipping apparent function body [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3402): error C2059: syntax error : 'return' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3402): error C2238: unexpected token(s) preceding ';' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3403): error C2146: syntax error : missing ';' before identifier 'ByteLength' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3403): error C2270: 'ByteLength' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3403): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3403): error C2065: 'byte_length_' : undeclared identifier [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3405): error C2059: syntax error : 'private' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3409): error C2255: 'friend' : not allowed outside of a class definition [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3410): error C2059: syntax error : '}' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3410): error C2143: syntax error : missing ';' before '}' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3416): error C2270: 'ByteLength' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3424): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3432): error C2143: syntax error : missing ';' before '<' [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3440): error C2270: 'IsExternal' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3445): error C2270: 'IsNeuterable' : modifiers not allowed on nonmember functions [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3478): error C2065: 'Value' : undeclared identifier [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3478): error C2065: 'obj' : undeclared identifier [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3478): error C2433: 'Cast' : '__forceinline' not permitted on data declarations [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\steve\.node-gyp\4.1.2\include\node\v8.h(3478): fatal error C1903: unable to recover from previous error(s); stopping compilation [f:\Projects\web_ui\node_modules\bufferutil\build\bufferutil.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\steve\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Windows_NT 10.0.10240
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\steve\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-
gyp.js" "rebuild"
gyp ERR! cwd f:\Projects\web_ui\node_modules\bufferutil
gyp ERR! node -v v4.1.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN install:bufferutil bufferutil@1.2.1 install: `node-gyp rebuild`
npm WARN install:bufferutil Exit status 1

f:\Projects\web_ui> 

@bnoordhuis
Copy link
Member

@mwain You need to upgrade, .NET Framework 4.0 ships with VS 2010.

@codeuniquely I think in your case node-gyp or msbuild is picking up the wrong VS version. Maybe try the --msvs_version flag mentioned in the first comments.

@mwain
Copy link

mwain commented Oct 19, 2015

@bnoordhuis Thanks, i installed Visual Studio 2015 and that solved it.

@codeuniquely
Copy link

I had already run

npm config set msvs_version 2015 --global

I already have environment variables as suggested.

GYP_MSVS_VERSION=2015

I have Visual Studio Community 2015 Installed, but also have Visual Studio Ultimate 2013
I have.Net Targeting Frameworks for 4.5, 4.51, 4.52 and 4.6
and that still did not work...

So instead, I swapped the version variables over to using "2013" edition
and its works a treat ....

@andwaal
Copy link

andwaal commented Nov 9, 2015

I had struggles with installing sqlite3 after updating to Windows 10 and Node 5.0.
Solution for me was to install "VS Express for Desktop 2015" and set GYP_MSVS_VERSION=2015.

@PuneetBaijal
Copy link

Hi,
I am facing the same issue with installing socket.io. I have installed the following

VS2010 Professional
npm-v
2.14.7
node-v
4.2.2

Unfortunately I cannot install VS2015 on my machine as my organization does not have license of the same. Is there a way I can install socket.io package with VS2010.

@bnoordhuis
Copy link
Member

@PuneetBaijal You should ask the socket.io people if you want to know for sure but I believe that its native dependencies are all optional.

@eduardonunesp
Copy link

Thanks @mstrutt, the export works for me

Update:
Only works when inside the container

On build process gives error:


gyp http GET https://nodejs.org/download/release/v4.2.2/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v4.2.2/SHASUMS256.txt
gyp info spawn python2
gyp info spawn args [ '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/code/api/node_modules/bcrypt/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.node-gyp/4.2.2/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/4.2.2',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=node.lib',
gyp info spawn args   '-Dmodule_root_dir=/code/api/node_modules/bcrypt',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/code/api/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
Killed
The command '/bin/sh -c cd api ; PYTHONPATH=/usr/lib/python2.7 npm install' returned a non-zero code: 137

@tgwhite
Copy link

tgwhite commented Nov 25, 2015

Here now because I was having node-gyp issues in windows for the second time -- round 1 of this issue was fixed by removing old VS versions, setting msvs_version and python in npm config, and running npm install in a developer console but that didn't work this time. Now I decided to install ubuntu and try to install from there and I'm facing the same issues! I installed g++, make, node-gyp (globally), and build-essential with some npm cache cleans run liberally and I'm having zero luck. Will report back.

2106 verbose stack Error: v8-debug@0.4.6 install: `node-pre-gyp install --fallback-to-build`
2106 verbose stack Exit status 1
2106 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:232:16)
2106 verbose stack     at emitTwo (events.js:87:13)
2106 verbose stack     at EventEmitter.emit (events.js:172:7)
2106 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
2106 verbose stack     at emitTwo (events.js:87:13)
2106 verbose stack     at ChildProcess.emit (events.js:172:7)
2106 verbose stack     at maybeClose (internal/child_process.js:818:16)
2106 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
2107 verbose pkgid v8-debug@0.4.6
2108 verbose cwd path/to/things
2109 error Linux 3.19.0-25-generic
2110 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
2111 error node v5.1.0
2112 error npm  v3.3.12
2113 error code ELIFECYCLE
2114 error v8-debug@0.4.6 install: `node-pre-gyp install --fallback-to-build`
2114 error Exit status 1
2115 error Failed at the v8-debug@0.4.6 install script 'node-pre-gyp install --fallback-to-build'.
2115 error Make sure you have the latest version of node.js and npm installed.
2115 error If you do, this is most likely a problem with the v8-debug package,
2115 error not with npm itself.
2115 error Tell the author that this fails on your system:
2115 error     node-pre-gyp install --fallback-to-build
2115 error You can get their info via:
2115 error     npm owner ls v8-debug
2115 error There is likely additional logging output above.
2116 verbose exit [ 1, true ]

@bnoordhuis
Copy link
Member

@tgwhite Note that v8-debug uses node-pre-gyp. That's a different project.

@sanfordstaab
Copy link

Is anyone working on a fix?

This blocks karma, browserify, angular and a host of popular node modules.

For me it is just about pushing me to not use node at all. (new user)

Like others I have VS2010 installed on Win7 with npm --version 3.5.2, node --version v5.2.0.
My error is the usual:

node-gyp\5.2.0\include\node\v8.h(336): error C2988: unrecognizable template declaration/definition

VS2015 is on a subscription basis - this kills open source. We need to use an open-source complier for this module.

I used to work at Microsoft and the VS/.Net team VPs are idiots and jerks trying to maximize profits on developers. They are responsible for the whole VISTA crap - they eventually broke the entire build process for NT and forced a pull-back of 6 mo. of work. Get away from anything from Microsoft.

Related bugs:
#736
#629
#809

@antonevane
Copy link

The following link helped me
https://github.com/nodejs/node-gyp/wiki/Visual-Studio-2010-Setup

@TungTh
Copy link

TungTh commented Feb 24, 2016

@bnoordhuis using --msvs_version=2015 works for me. Thanks

@ghost
Copy link

ghost commented Apr 18, 2016

Still no fix?

@bnoordhuis
Copy link
Member

@hocuspucus Have you tried everything people have posted? I'll close this issue, please file a new one if you still have build trouble.

@yunnysunny
Copy link

In my windows, I installed vs2012, and now I have faced with the same problem. I copy part of errors as follows:

c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(345): error C2988: unrecognizable template declaration/definition (..\src\hello3.cc) [F:\temp\async-tutorial-code\addo n\build\binding.vcxproj]
c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(345): error C2059: syntax error : 'using' (..\src\hello3.cc) [F:\temp\async-tutorial-code\addon\build\binding.vcxproj] c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(481): error C2988: unrecognizable template declaration/definition (..\src\hello3.cc) [F:\temp\async-tutorial-code\addo n\build\binding.vcxproj]
c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(481): error C2059: syntax error : 'using' (..\src\hello3.cc) [F:\temp\async-tutorial-code\addon\build\binding.vcxproj] c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(592): error C2061: syntax error : identifier 'WeakCallbackType' (..\src\hello3.cc) [F:\temp\async-tutorial-code\addon\ build\binding.vcxproj]
          c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(672) : see reference to class template instantiation 'v8::PersistentBase<T>' being compiled
c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(667): error C2253: 'PersistentBase<T>' : pure specifier or abstract override specifier only allowed on virtual functio n (..\src\hello3.cc) [F:\temp\async-tutorial-code\addon\build\binding.vcxproj]
c:\users\sunny\.node-gyp\6.9.2\include\node\v8.h(874): error C2253: 'Global<T>' : pure specifier or abstract override specifier only allowed on virtual function (..\sr c\hello3.cc) [F:\temp\async-tutorial-code\addon\build\binding.vcxproj]

@phfontess
Copy link

Same error. Try to using 2012, 2015 compilers and had no success.

error C2059: syntax error: 'using' (..\src\bufferutil.cc) [C:\workfolder\saleswebservice\saleswebservice .git\printer\node_modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\Admin.node-gyp\8.9.4\include\node\v8.h(904): error C2989: 'v8::HandleS cope' : class template has already been declared as a non-class template (..\src \bufferutil.cc) [C:\workfolder\saleswebservice\saleswebservice.git\printer\node_ modules\bufferutil\build\bufferutil.vcxproj]
C:\Users\Admin.node-gyp\8.9.4\include\node\v8.h(316) : see declaratio n of 'v8::HandleScope'

@yunnysunny
Copy link

node-gyp has not supported the version of VS below 2015.

@bnoordhuis
Copy link
Member

Correction: node.js (>= 8) does not support VS < 2015.

@bnoordhuis
Copy link
Member

@corvinrok aren't you restating what I said except with more words?

@corvinrok
Copy link

corvinrok commented Jan 27, 2018

@bnoordhuis oh dang. I misread your post. I read "VS =2015" . I recant. Well done! :)
[removed my errant comment]

@codomposer
Copy link

Please help me

gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack at VisualStudioFinder.fail (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack at VisualStudioFinder.findVisualStudio2013 (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack at ChildProcess.exithandler (child_process.js:315:5)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\dev\platform-contracts\node_modules\sha3
gyp ERR! node -v v14.16.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules\hardhat\node_modules\mocha\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\hardhat\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: scrypt@6.0.3 (node_modules\scrypt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: scrypt@6.0.3 install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sha3@1.2.6 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sha3@1.2.6 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

@cclauss
Copy link
Contributor

cclauss commented Apr 20, 2022

gyp ERR! node-gyp -v v5.1.0

The current release of this repo is https://github.com/nodejs/node-gyp/releases
So, please upgrade... https://github.com/nodejs/node-gyp/tree/master/docs#readme

@nodejs nodejs locked as resolved and limited conversation to collaborators Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests