Skip to content

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

@yfuks

Description

@yfuks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions