When im doing an "npm install airtunes" i get this.
node version 6.3.1
npm version 3.10.3
node-gyp version 3.4.0
Any idea what the problem could be? :)
> npm i airtunes
> airtunes@0.1.7 install C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes
> node-gyp rebuild
Rene@DESKTOP-Q0UE41G C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes
> 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.
codec.cc
bindings.cc
ALACEncoder.cpp
..\alac\ALACEncoder.cpp(438): warning C4805: '==': unsafe mix of type 'uint8_t' and type 'bool' in operation [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\alac\ALACEncoder.cpp(442): warning C4805: '==': unsafe mix of type 'uint8_t' and type 'bool' in operation [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\alac\ALACEncoder.cpp(686): warning C4805: '==': unsafe mix of type 'uint8_t' and type 'bool' in operation [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\alac\ALACEncoder.cpp(690): warning C4805: '==': unsafe mix of type 'uint8_t' and type 'bool' in operation [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\alac\ALACEncoder.cpp(920): warning C4805: '==': unsafe mix of type 'uint8_t' and type 'bool' in operation [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\alac\ALACEncoder.cpp(924): warning C4805: '==': unsafe mix of type 'uint8_t' and type 'bool' in operation [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\alac\ALACEncoder.cpp(1255): warning C4244: '=': conversion from 'alac_float64_t' to 'uint32_t', possible loss of data [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\bindings.cc(15): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
C:\Users\Rene\.node-gyp\6.3.1\include\node\v8.h(904): note: see declaration of 'v8::HandleScope::HandleScope'
C:\Users\Rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
c:\users\rene\desktop\airtunes\node_modules\airtunes\src\../alac/ALACBitUtilities.h(68): error C2371: 'ELEMENT_TYPE': redefinition; different basic types (compiling source file ..\src\codec.cc) [C:\Users\Rene\Desktop\Airtunes\node_modules\
airtunes\build\airtunes.vcxproj]
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winioctl.h(3944): note: see declaration of 'ELEMENT_TYPE' (compiling source file ..\src\codec.cc)
..\src\codec.cc(59): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(904): note: see declaration of 'v8::HandleScope::HandleScope'
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(62): error C2039: 'Dispose': is not a member of 'v8::Persistent<v8::Value,v8::NonCopyablePersistentTraits<T>>' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::Value
]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(5293): note: see declaration of 'v8::Persistent<v8::Value,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::Value
]
..\src\codec.cc(67): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(67): error C2143: syntax error: missing ',' before '&' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(68): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(904): note: see declaration of 'v8::HandleScope::HandleScope'
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(78): error C2660: 'v8::PersistentBase<T>::New': function does not take 1 arguments [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(79): error C2819: type 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>' does not have an overloaded member 'operator ->' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(78): note: see declaration of 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(79): note: did you intend to use '.' instead?
..\src\codec.cc(79): error C2039: 'SetInternalFieldCount': is not a member of 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(78): note: see declaration of 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(80): error C2819: type 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>' does not have an overloaded member 'operator ->' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(78): note: see declaration of 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(80): note: did you intend to use '.' instead?
..\src\codec.cc(80): error C2039: 'NewInstance': is not a member of 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(78): note: see declaration of 'v8::Persistent<v8::ObjectTemplate,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::ObjectTemplate
]
..\src\codec.cc(80): error C2660: 'v8::PersistentBase<v8::Object>::New': function does not take 1 arguments [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(81): error C2819: type 'v8::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' does not have an overloaded member 'operator ->' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::Object
]
..\src\codec.cc(80): note: see declaration of 'v8::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::Object
]
..\src\codec.cc(81): note: did you intend to use '.' instead?
..\src\codec.cc(81): error C2039: 'SetPointerInInternalField': is not a member of 'v8::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::Object
]
..\src\codec.cc(80): note: see declaration of 'v8::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::Object
]
..\src\codec.cc(82): error C2039: 'MakeWeak': is not a member of 'v8::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
with
[
T=v8::Object
]
..\src\codec.cc(80): note: see declaration of 'v8::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::Object
]
..\src\codec.cc(84): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(87): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(87): error C2143: syntax error: missing ',' before '&' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(88): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(904): note: see declaration of 'v8::HandleScope::HandleScope'
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(90): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(90): error C2228: left of '.Length' must have class/struct/union [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(90): note: type is 'unknown-type'
..\src\codec.cc(92): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(92): error C2660: 'v8::Null': function does not take 0 arguments [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(95): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(95): error C2227: left of '->ToObject' must point to class/struct/union/generic type [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(96): error C2039: 'GetPointerFromInternalField': is not a member of 'v8::Object' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(2635): note: see declaration of 'v8::Object'
..\src\codec.cc(98): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(101): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(104): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(104): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(113): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(113): error C2660: 'v8::Integer::New': function does not take 1 arguments [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(116): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(116): error C2143: syntax error: missing ',' before '&' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(117): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(904): note: see declaration of 'v8::HandleScope::HandleScope'
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(119): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(119): error C2228: left of '.Length' must have class/struct/union [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(119): note: type is 'unknown-type'
..\src\codec.cc(121): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(121): error C2660: 'v8::Null': function does not take 0 arguments [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(124): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(126): error C2065: 'args': undeclared identifier [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(126): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(131): error C2131: expression did not evaluate to a constant [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(131): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\codec.cc(131): note: see usage of 'kBlockSize'
..\src\codec.cc(149): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
c:\users\rene\.node-gyp\6.3.1\include\node\v8.h(888): note: see declaration of 'v8::HandleScope'
..\src\codec.cc(149): error C2660: 'v8::Null': function does not take 0 arguments [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
..\src\codec.cc(153): error C2665: 'node::NODE_SET_METHOD': none of the 2 overloads could convert all the argument types [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
C:\Users\Rene\.node-gyp\6.3.1\include\node\node.h(257): note: could be 'void node::NODE_SET_METHOD(v8::Local<v8::Object>,const char *,v8::FunctionCallback)' (compiling source file ..\src\codec.cc)
C:\Users\Rene\.node-gyp\6.3.1\include\node\node.h(244): note: or 'void node::NODE_SET_METHOD(v8::Local<v8::Template>,const char *,v8::FunctionCallback)' (compiling source file ..\src\codec.cc)
..\src\codec.cc(153): note: while trying to match the argument list '(v8::Local<v8::Object>, const char [11], overloaded-function)'
..\src\codec.cc(154): error C2665: 'node::NODE_SET_METHOD': none of the 2 overloads could convert all the argument types [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
C:\Users\Rene\.node-gyp\6.3.1\include\node\node.h(257): note: could be 'void node::NODE_SET_METHOD(v8::Local<v8::Object>,const char *,v8::FunctionCallback)' (compiling source file ..\src\codec.cc)
C:\Users\Rene\.node-gyp\6.3.1\include\node\node.h(244): note: or 'void node::NODE_SET_METHOD(v8::Local<v8::Template>,const char *,v8::FunctionCallback)' (compiling source file ..\src\codec.cc)
..\src\codec.cc(154): note: while trying to match the argument list '(v8::Local<v8::Object>, const char [11], overloaded-function)'
..\src\codec.cc(155): error C2665: 'node::NODE_SET_METHOD': none of the 2 overloads could convert all the argument types [C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes\build\airtunes.vcxproj]
C:\Users\Rene\.node-gyp\6.3.1\include\node\node.h(257): note: could be 'void node::NODE_SET_METHOD(v8::Local<v8::Object>,const char *,v8::FunctionCallback)' (compiling source file ..\src\codec.cc)
C:\Users\Rene\.node-gyp\6.3.1\include\node\node.h(244): note: or 'void node::NODE_SET_METHOD(v8::Local<v8::Template>,const char *,v8::FunctionCallback)' (compiling source file ..\src\codec.cc)
..\src\codec.cc(155): note: while trying to match the argument list '(v8::Local<v8::Object>, const char [11], overloaded-function)'
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:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Windows_NT 10.0.10586
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 C:\Users\Rene\Desktop\Airtunes\node_modules\airtunes
gyp ERR! node -v v6.3.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Rene\Desktop\Airtunes\package.json'
npm WARN Airtunes No description
npm WARN Airtunes No repository field.
npm WARN Airtunes No README data
npm WARN Airtunes No license field.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "airtunes"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! airtunes@0.1.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the airtunes@0.1.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the airtunes 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 information on how to open an issue for this project with:
npm ERR! npm bugs airtunes
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls airtunes
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Rene\Desktop\Airtunes\npm-debug.log
When im doing an "npm install airtunes" i get this. node version 6.3.1 npm version 3.10.3 node-gyp version 3.4.0
Any idea what the problem could be? :)