moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 513 forks source link

Mosca install error #774

Open ArtemSkok opened 5 years ago

ArtemSkok commented 5 years ago

Installation of packages whitch use c++ fails. Ihave got Visual Stuio 2017 installed and python 2.7 and added to PATH, node-gyp also installed (globally).

In console:

npm install mosca --save npm WARN deprecated mongodb@2.1.21: Please upgrade to 2.2.19 or higher npm WARN deprecated node-uuid@1.4.8: Use uuid module instead

fs-ext@0.5.0 install D:\projects\planttron\planttron.API\node_modules\fs-ext node-gyp configure build

D:\projects\planttron\planttron.API\node_modules\fs-ext>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" configure build ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" configure build ) Выполняется последовательная сборка проектов в этом решении. Чтобы включить параллельную сборку, добавьте параметр "/m". fs-ext.cc win_delay_load_hook.cc d:\projects\planttron\planttron.api\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: ForceSet: не является членом "v8::Object" (компилируется исх одный файл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(3243): note: см. объявление "v8::Object" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan_implementation_12_inl.h(345): warning C4996: 'v8::StringObject::New': объявлен deprecate (ком пилируется исходный файл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(5052): note: см. объявление "v8::StringObject::New" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(816): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(175): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(830): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(168): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(844): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(161): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(890): warning C4996: 'v8::Value::ToString': объявлен deprecate (компилируется исходный файл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10040): note: см. объявление "v8::Value::ToString" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(900): warning C4996: 'v8::String::WriteUtf8': объявлен deprecate (компилируется исходный фа йл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2658): note: см. объявление "v8::String::WriteUtf8" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(1457): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\fs-ext.cc) [D:\projects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(175): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\fs-ext.cc) d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(108): warning C4996: 'Nan::NanErrnoException': объявлен deprecate [D:\projects\plant tron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] d:\projects\planttron\planttron.api\node_modules\nan\nan.h(862): note: см. объявление "Nan::NanErrnoException" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(195): error C3861: fcntl: идентификатор не найден [D:\projects\planttron\planttron.A PI\node_modules\fs-ext\build\fs-ext.vcxproj] d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(281): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(282): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(297): warning C4996: 'Nan::NanErrnoException': объявлен deprecate [D:\projects\plant tron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] d:\projects\planttron\planttron.api\node_modules\nan\nan.h(862): note: см. объявление "Nan::NanErrnoException" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(332): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(334): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(335): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(339): warning C4996: 'Nan::NanErrnoException': объявлен deprecate [D:\projects\plant tron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] d:\projects\planttron\planttron.api\node_modules\nan\nan.h(862): note: см. объявление "Nan::NanErrnoException" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(374): error C3861: fcntl: идентификатор не найден [D:\projects\planttron\planttron.A PI\node_modules\fs-ext\build\fs-ext.vcxproj] d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(369): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(370): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(371): warning C4996: 'v8::Value::Int32Value': объявлен deprecate [D:\projects\plantt ron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2478): note: см. объявление "v8::Value::Int32Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(375): warning C4996: 'Nan::NanErrnoException': объявлен deprecate [D:\projects\plant tron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] d:\projects\planttron\planttron.api\node_modules\nan\nan.h(862): note: см. объявление "Nan::NanErrnoException" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(423): warning C4996: 'v8::String::Utf8Value::Utf8Value': объявлен deprecate [D:\proj ects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2891): note: см. объявление "v8::String::Utf8Value::Utf8Value" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(424): warning C4996: 'v8::Value::IntegerValue': объявлен deprecate [D:\projects\plan ttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2476): note: см. объявление "v8::Value::IntegerValue" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(425): warning C4996: 'v8::Value::IntegerValue': объявлен deprecate [D:\projects\plan ttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2476): note: см. объявление "v8::Value::IntegerValue" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(433): warning C4996: 'Nan::NanErrnoException': объявлен deprecate [D:\projects\plant tron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] d:\projects\planttron\planttron.api\node_modules\nan\nan.h(862): note: см. объявление "Nan::NanErrnoException" d:\projects\planttron\planttron.api\node_modules\fs-ext\fs-ext.cc(462): warning C4996: 'v8::String::Utf8Value::Utf8Value': объявлен deprecate [D:\proj ects\planttron\planttron.API\node_modules\fs-ext\build\fs-ext.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2891): note: см. объявление "v8::String::Utf8Value::Utf8Value" gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.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:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "build" gyp ERR! cwd D:\projects\planttron\planttron.API\node_modules\fs-ext gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok

snappy@5.0.5 install D:\projects\planttron\planttron.API\node_modules\snappy node-gyp rebuild

D:\projects\planttron\planttron.API\node_modules\snappy>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Выполняется последовательная сборка проектов в этом решении. Чтобы включить параллельную сборку, добавьте параметр "/m". snappy-sinksource.cc snappy-stubs-internal.cc snappy.cc win_delay_load_hook.cc snappy.vcxproj -> D:\projects\planttron\planttron.API\node_modules\snappy\build\Release\snappy.lib binding.cc win_delay_load_hook.cc d:\projects\planttron\planttron.api\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: ForceSet: не является членом "v8::Object" (компилируется исх одный файл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(3243): note: см. объявление "v8::Object" (компилируется исходный файл ..\src\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan_implementation_12_inl.h(345): warning C4996: 'v8::StringObject::New': объявлен deprecate (ком пилируется исходный файл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(5052): note: см. объявление "v8::StringObject::New" (компилируется исходный файл ..\src\binding.cc ) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(816): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(175): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\src\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(830): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(168): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\src\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(844): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(161): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\src\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(890): warning C4996: 'v8::Value::ToString': объявлен deprecate (компилируется исходный файл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10040): note: см. объявление "v8::Value::ToString" (компилируется исходный файл ..\src\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(900): warning C4996: 'v8::String::WriteUtf8': объявлен deprecate (компилируется исходный фа йл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2658): note: см. объявление "v8::String::WriteUtf8" (компилируется исходный файл ..\src\binding.cc ) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(1457): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\src\binding.cc) [D:\projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(175): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\src\binding.cc) d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(115): warning C4996: 'v8::Value::ToObject': объявлен deprecate [D:\projects\pla nttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10046): note: см. объявление "v8::Value::ToObject" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(116): warning C4996: 'v8::Value::ToObject': объявлен deprecate [D:\projects\pla nttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10046): note: см. объявление "v8::Value::ToObject" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(121): warning C4996: 'v8::String::Utf8Value::Utf8Value': объявлен deprecate [D: \projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2891): note: см. объявление "v8::String::Utf8Value::Utf8Value" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(142): warning C4996: 'v8::Value::ToObject': объявлен deprecate [D:\projects\pla nttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10046): note: см. объявление "v8::Value::ToObject" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(143): warning C4996: 'v8::Value::ToObject': объявлен deprecate [D:\projects\pla nttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10046): note: см. объявление "v8::Value::ToObject" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(148): warning C4996: 'v8::String::Utf8Value::Utf8Value': объявлен deprecate [D: \projects\planttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2891): note: см. объявление "v8::String::Utf8Value::Utf8Value" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(161): warning C4996: 'v8::Value::ToObject': объявлен deprecate [D:\projects\pla nttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10046): note: см. объявление "v8::Value::ToObject" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(181): warning C4996: 'v8::Value::ToObject': объявлен deprecate [D:\projects\pla nttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10046): note: см. объявление "v8::Value::ToObject" d:\projects\planttron\planttron.api\node_modules\snappy\src\binding.cc(218): warning C4996: 'v8::Value::ToObject': объявлен deprecate [D:\projects\pla nttron\planttron.API\node_modules\snappy\build\binding.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10046): note: см. объявление "v8::Value::ToObject" gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.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:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Windows_NT 10.0.17134 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:\projects\planttron\planttron.API\node_modules\snappy gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok

zmq@2.15.3 install D:\projects\planttron\planttron.API\node_modules\zmq node-gyp rebuild

D:\projects\planttron\planttron.API\node_modules\zmq>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) Выполняется последовательная сборка проектов в этом решении. Чтобы включить параллельную сборку, добавьте параметр "/m". binding.cc win_delay_load_hook.cc d:\projects\planttron\planttron.api\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: ForceSet: не является членом "v8::Object" (компилируется исх одный файл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(3243): note: см. объявление "v8::Object" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan_implementation_12_inl.h(345): warning C4996: 'v8::StringObject::New': объявлен deprecate (ком пилируется исходный файл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(5052): note: см. объявление "v8::StringObject::New" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(816): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(175): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(830): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(168): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(844): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(161): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(890): warning C4996: 'v8::Value::ToString': объявлен deprecate (компилируется исходный файл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(10040): note: см. объявление "v8::Value::ToString" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(900): warning C4996: 'v8::String::WriteUtf8': объявлен deprecate (компилируется исходный фа йл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\v8.h(2658): note: см. объявление "v8::String::WriteUtf8" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\nan\nan.h(1457): warning C4996: 'node::MakeCallback': объявлен deprecate (компилируется исходный файл ..\binding.cc) [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] c:\users\art.node-gyp\10.13.0\include\node\node.h(175): note: см. объявление "node::MakeCallback" (компилируется исходный файл ..\binding.cc) d:\projects\planttron\planttron.api\node_modules\zmq\binding.cc(999): warning C4297: zmq::Socket::IncomingMessage::MessageReference::~MessageReference : ожидается, что функция не будет выдавать исключения, но она это делает [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] d:\projects\planttron\planttron.api\node_modules\zmq\binding.cc(999): note: деструктор или метод отмены выделения имеет (возможно, неявно) специфика цию, не предусматривающую создание исключений d:\projects\planttron\planttron.api\node_modules\zmq\binding.cc(1205): warning C4297: zmq::Socket::OutgoingMessage::~OutgoingMessage: ожидается, что ф ункция не будет выдавать исключения, но она это делает [D:\projects\planttron\planttron.API\node_modules\zmq\build\zmq.vcxproj] d:\projects\planttron\planttron.api\node_modules\zmq\binding.cc(1205): note: деструктор или метод отмены выделения имеет (возможно, неявно) специфик ацию, не предусматривающую создание исключений gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.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:262:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) gyp ERR! System Windows_NT 10.0.17134 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:\projects\planttron\planttron.API\node_modules\zmq gyp ERR! node -v v10.13.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok

leveldown@1.4.6 install D:\projects\planttron\planttron.API\node_modules\leveldown prebuild --install

prebuild info begin Prebuild version 4.5.0 prebuild info looking for local prebuild @ prebuilds\leveldown-v1.4.6-node-v64-win32-x64.tar.gz prebuild info looking for cached prebuild @ C:\Users\art\AppData\Roaming\npm-cache_prebuilds\https-github.com-level-leveldown-releases-download-v1.4.6-leveldown-v1.4.6-node-v64-win32-x64.tar.gz prebuild http request GET https://github.com/level/leveldown/releases/download/v1.4.6/leveldown-v1.4.6-node-v64-win32-x64.tar.gz prebuild http 404 https://github.com/level/leveldown/releases/download/v1.4.6/leveldown-v1.4.6-node-v64-win32-x64.tar.gz prebuild WARN install No prebuilt binaries found (target=v10.13.0 arch=x64 platform=win32) prebuild info install We will now try to compile from source. prebuild verb starting node-gyp process prebuild verb execute node-gyp with node index.js rebuild --target=v10.13.0 --target_arch=x64 gyp verb command rebuild [] prebuild verb ok gyp verb command clean [] gyp verb clean removing "build" directory prebuild verb ok gyp verb command configure [] gyp verb check python checking for Python executable "C:\Users\art.windows-build-tools\python27\python.exe" in the PATH gyp verb which succeeded C:\Users\art.windows-build-tools\python27\python.exe C:\Users\art.windows-build-tools\python27\python.exe gyp verb check python version C:\Users\art\.windows-build-tools\python27\python.exe -c "import platform; print(platform.python_version());" returned: "2.7.15\r\n" gyp verb get node dir no --target version specified, falling back to host node version: 10.13.0 gyp verb command install [ '10.13.0' ] gyp verb install input version string "10.13.0" gyp verb install installing version: 10.13.0 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version is already installed, need to check "installVersion" gyp verb got "installVersion" 9 gyp verb needs "installVersion" 9 gyp verb install version is good gyp verb get node dir target node version installed: 10.13.0 gyp verb build dir attempting to create "build" dir: D:\projects\planttron\planttron.API\node_modules\leveldown\build gyp verb build dir "build" dir needed to be created? D:\projects\planttron\planttron.API\node_modules\leveldown\build gyp verb build/config.gypi creating config file gyp sill build/config.gypi { target_defaults: gyp sill build/config.gypi { cflags: [], gyp sill build/config.gypi default_configuration: 'Release', gyp sill build/config.gypi defines: [], gyp sill build/config.gypi include_dirs: [], gyp sill build/config.gypi libraries: [] }, gyp sill build/config.gypi variables: gyp sill build/config.gypi { asan: 0, gyp sill build/config.gypi build_v8_with_gn: false, gyp sill build/config.gypi coverage: false, gyp sill build/config.gypi debug_nghttp2: false, gyp sill build/config.gypi enable_lto: false, gyp sill build/config.gypi enable_pgo_generate: false, gyp sill build/config.gypi enable_pgo_use: false, gyp sill build/config.gypi force_dynamic_crt: 0, gyp sill build/config.gypi host_arch: 'x64', gyp sill build/config.gypi icu_data_in: '..\..\deps/icu-small\source/data/in\icudt62l.dat', gyp sill build/config.gypi icu_endianness: 'l', gyp sill build/config.gypi icu_gyp_path: 'tools/icu/icu-generic.gyp', gyp sill build/config.gypi icu_locales: 'en,root', gyp sill build/config.gypi icu_path: 'deps/icu-small', gyp sill build/config.gypi icu_small: true, gyp sill build/config.gypi icu_ver_major: '62', gyp sill build/config.gypi nasm_version: '2.13', gyp sill build/config.gypi node_byteorder: 'little', gyp sill build/config.gypi node_debug_lib: false, gyp sill build/config.gypi node_enable_d8: false, gyp sill build/config.gypi node_enable_v8_vtunejit: false, gyp sill build/config.gypi node_install_npm: true, gyp sill build/config.gypi node_module_version: 64, gyp sill build/config.gypi node_no_browser_globals: false, gyp sill build/config.gypi node_prefix: '/usr/local', gyp sill build/config.gypi node_release_urlbase: 'https://nodejs.org/download/release/', gyp sill build/config.gypi node_shared: false, gyp sill build/config.gypi node_shared_cares: false, gyp sill build/config.gypi node_shared_http_parser: false, gyp sill build/config.gypi node_shared_libuv: false, gyp sill build/config.gypi node_shared_nghttp2: false, gyp sill build/config.gypi node_shared_openssl: false, gyp sill build/config.gypi node_shared_zlib: false, gyp sill build/config.gypi node_tag: '', gyp sill build/config.gypi node_target_type: 'executable', gyp sill build/config.gypi node_use_bundled_v8: true, gyp sill build/config.gypi node_use_dtrace: false, gyp sill build/config.gypi node_use_etw: true, gyp sill build/config.gypi node_use_openssl: true, gyp sill build/config.gypi node_use_pch: false, gyp sill build/config.gypi node_use_perfctr: true, gyp sill build/config.gypi node_use_v8_platform: true, gyp sill build/config.gypi node_with_ltcg: true, gyp sill build/config.gypi node_without_node_options: false, gyp sill build/config.gypi openssl_fips: '', gyp sill build/config.gypi openssl_no_asm: 0, gyp sill build/config.gypi shlib_suffix: 'so.64', gyp sill build/config.gypi target_arch: 'x64', gyp sill build/config.gypi v8_enable_gdbjit: 0, gyp sill build/config.gypi v8_enable_i18n_support: 1, gyp sill build/config.gypi v8_enable_inspector: 1, gyp sill build/config.gypi v8_no_strict_aliasing: 1, gyp sill build/config.gypi v8_optimized_debug: 0, gyp sill build/config.gypi v8_promise_internal_field_count: 1, gyp sill build/config.gypi v8_random_seed: 0, gyp sill build/config.gypi v8_trace_maps: 0, gyp sill build/config.gypi v8_typed_array_max_size_in_heap: 0, gyp sill build/config.gypi v8_use_snapshot: true, gyp sill build/config.gypi want_separate_host_toolset: 0, gyp sill build/config.gypi nodedir: 'C:\Users\art\.node-gyp\10.13.0', gyp sill build/config.gypi copy_dev_lib: true, gyp sill build/config.gypi standalone_static_library: 1, gyp sill build/config.gypi target: 'v10.13.0', gyp sill build/config.gypi access: '', gyp sill build/config.gypi allow_same_version: '', gyp sill build/config.gypi also: '', gyp sill build/config.gypi always_auth: '', gyp sill build/config.gypi audit: 'true', gyp sill build/config.gypi audit_level: 'low', gyp sill build/config.gypi auth_type: 'legacy', gyp sill build/config.gypi bin_links: 'true', gyp sill build/config.gypi browser: '', gyp sill build/config.gypi ca: '', gyp sill build/config.gypi cache: 'C:\Users\art\AppData\Roaming\npm-cache', gyp sill build/config.gypi cache_lock_retries: '10', gyp sill build/config.gypi cache_lock_stale: '60000', gyp sill build/config.gypi cache_lock_wait: '10000', gyp sill build/config.gypi cache_max: 'Infinity', gyp sill build/config.gypi cache_min: '10', gyp sill build/config.gypi cert: '', gyp sill build/config.gypi cidr: '', gyp sill build/config.gypi color: 'true', gyp sill build/config.gypi commit_hooks: 'true', gyp sill build/config.gypi depth: 'Infinity', gyp sill build/config.gypi description: 'true', gyp sill build/config.gypi dev: '', gyp sill build/config.gypi dry_run: '', gyp sill build/config.gypi editor: 'notepad.exe', gyp sill build/config.gypi engine_strict: '', gyp sill build/config.gypi fetch_retries: '2', gyp sill build/config.gypi fetch_retry_factor: '10', gyp sill build/config.gypi fetch_retry_maxtimeout: '60000', gyp sill build/config.gypi fetch_retry_mintimeout: '10000', gyp sill build/config.gypi force: '', gyp sill build/config.gypi git: 'git', gyp sill build/config.gypi git_tag_version: 'true', gyp sill build/config.gypi global: '', gyp sill build/config.gypi globalconfig: 'C:\Users\art\AppData\Roaming\npm\etc\npmrc', gyp sill build/config.gypi globalignorefile: 'C:\Users\art\AppData\Roaming\npm\etc\npmignore', gyp sill build/config.gypi global_style: '', gyp sill build/config.gypi group: '', gyp sill build/config.gypi ham_it_up: '', gyp sill build/config.gypi heading: 'npm', gyp sill build/config.gypi https_proxy: '', gyp sill build/config.gypi if_present: '', gyp sill build/config.gypi ignore_prepublish: '', gyp sill build/config.gypi ignore_scripts: '', gyp sill build/config.gypi init_author_email: '', gyp sill build/config.gypi init_author_name: '', gyp sill build/config.gypi init_author_url: '', gyp sill build/config.gypi init_license: 'ISC', gyp sill build/config.gypi init_module: 'C:\Users\art\.npm-init.js', gyp sill build/config.gypi init_version: '1.0.0', gyp sill build/config.gypi json: '', gyp sill build/config.gypi key: '', gyp sill build/config.gypi legacy_bundling: '', gyp sill build/config.gypi link: '', gyp sill build/config.gypi local_address: '', gyp sill build/config.gypi logs_max: '10', gyp sill build/config.gypi long: '', gyp sill build/config.gypi maxsockets: '50', gyp sill build/config.gypi message: '%s', gyp sill build/config.gypi metrics_registry: 'https://registry.npmjs.org/', gyp sill build/config.gypi node_gyp: gyp sill build/config.gypi 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js', gyp sill build/config.gypi node_options: '', gyp sill build/config.gypi node_version: '10.13.0', gyp sill build/config.gypi noproxy: '', gyp sill build/config.gypi offline: '', gyp sill build/config.gypi onload_script: '', gyp sill build/config.gypi only: '', gyp sill build/config.gypi optional: 'true', gyp sill build/config.gypi otp: '', gyp sill build/config.gypi package_lock: 'true', gyp sill build/config.gypi package_lock_only: '', gyp sill build/config.gypi parseable: '', gyp sill build/config.gypi prefer_offline: '', gyp sill build/config.gypi prefer_online: '', gyp sill build/config.gypi prefix: 'C:\Users\art\AppData\Roaming\npm', gyp sill build/config.gypi preid: '', gyp sill build/config.gypi production: '', gyp sill build/config.gypi progress: 'true', gyp sill build/config.gypi read_only: '', gyp sill build/config.gypi rebuild_bundle: 'true', gyp sill build/config.gypi registry: 'https://registry.npmjs.org/', gyp sill build/config.gypi rollback: 'true', gyp sill build/config.gypi save: 'true', gyp sill build/config.gypi save_bundle: '', gyp sill build/config.gypi save_dev: '', gyp sill build/config.gypi save_exact: '', gyp sill build/config.gypi save_optional: '', gyp sill build/config.gypi save_prefix: '^', gyp sill build/config.gypi save_prod: '', gyp sill build/config.gypi scope: '', gyp sill build/config.gypi scripts_prepend_node_path: 'warn-only', gyp sill build/config.gypi script_shell: '', gyp sill build/config.gypi searchexclude: '', gyp sill build/config.gypi searchlimit: '20', gyp sill build/config.gypi searchopts: '', gyp sill build/config.gypi searchstaleness: '900', gyp sill build/config.gypi send_metrics: '', gyp sill build/config.gypi shell: 'C:\WINDOWS\system32\cmd.exe', gyp sill build/config.gypi shrinkwrap: 'true', gyp sill build/config.gypi sign_git_commit: '', gyp sill build/config.gypi sign_git_tag: '', gyp sill build/config.gypi sso_poll_frequency: '500', gyp sill build/config.gypi sso_type: 'oauth', gyp sill build/config.gypi strict_ssl: 'true', gyp sill build/config.gypi tag: 'latest', gyp sill build/config.gypi tag_version_prefix: 'v', gyp sill build/config.gypi timing: '', gyp sill build/config.gypi tmp: 'C:\Users\art\AppData\Local\Temp', gyp sill build/config.gypi umask: '0000', gyp sill build/config.gypi unicode: '', gyp sill build/config.gypi unsafe_perm: 'true', gyp sill build/config.gypi update_notifier: 'true', gyp sill build/config.gypi usage: '', gyp sill build/config.gypi user: '', gyp sill build/config.gypi userconfig: 'C:\Users\art\.npmrc', gyp sill build/config.gypi user_agent: 'npm/6.4.1 node/v10.13.0 win32 x64', gyp sill build/config.gypi version: '', gyp sill build/config.gypi versions: '', gyp sill build/config.gypi viewer: 'browser' } } gyp verb build/config.gypi writing out config file: D:\projects\planttron\planttron.API\node_modules\leveldown\build\config.gypi gyp verb config.gypi checking for gypi file: D:\projects\planttron\planttron.API\node_modules\leveldown\config.gypi gyp verb common.gypi checking for gypi file: D:\projects\planttron\planttron.API\node_modules\leveldown\common.gypi gyp verb gyp gyp format was not specified; forcing "msvs" gyp info spawn C:\Users\art.windows-build-tools\python27\python.exe gyp info spawn args [ 'D:\projects\planttron\planttron.API\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=2017', gyp info spawn args '-I', gyp info spawn args 'D:\projects\planttron\planttron.API\node_modules\leveldown\build\config.gypi', gyp info spawn args '-I', gyp info spawn args 'D:\projects\planttron\planttron.API\node_modules\node-gyp\addon.gypi', gyp info spawn args '-I', gyp info spawn args 'C:\Users\art\.node-gyp\10.13.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\art\.node-gyp\10.13.0', gyp info spawn args '-Dnode_gyp_dir=D:\projects\planttron\planttron.API\node_modules\node-gyp', gyp info spawn args '-Dnode_lib_file=node.lib', gyp info spawn args '-Dmodule_root_dir=D:\projects\planttron\planttron.API\node_modules\leveldown', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'D:\projects\planttron\planttron.API\node_modules\leveldown\build', gyp info spawn args '-Goutput_dir=.' ] Traceback (most recent call last): File "D:\projects\planttron\planttron.API\node_modules\node-gyp\gyp\gyp_main.py", line 16, in sys.exit(gyp.script_main()) File "D:\projects\planttron\planttron.API\node_modules\node-gyp\gyp\pylib\gyp__init.py", line 545, in script_main return main(sys.argv[1:]) File "D:\projects\planttron\planttron.API\node_modules\node-gyp\gyp\pylib\gyp\init.py", line 538, in main return gyp_main(args) File "D:\projects\planttron\planttron.API\node_modules\node-gyp\gyp\pylib\gyp\init.py", line 514, in gyp_main options.duplicate_basename_check) File "D:\projects\planttron\planttron.API\node_modules\node-gyp\gyp\pylib\gyp\init__.py", line 98, in Load generator.CalculateVariables(default_variables, params) File "D:\projects\planttron\planttron.API\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py", line 1900, in CalculateVariables generator_flags.get('msvs_version', 'auto')) File "D:\projects\planttron\planttron.API\node_modules\node-gyp\gyp\pylib\gyp\MSVSVersion.py", line 434, in SelectVisualStudioVersion versions = _DetectVisualStudioVersions(version_map[version], 'e' in version) KeyError: '2017' prebuild ERR! configure error prebuild ERR! stack Error: gyp failed with exit code: 1 prebuild ERR! stack at ChildProcess.onCpExit (D:\projects\planttron\planttron.API\node_modules\node-gyp\lib\configure.js:305:16) prebuild ERR! stack at ChildProcess.emit (events.js:182:13) prebuild ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) prebuild ERR! not ok prebuild ERR! build Error: gyp failed with exit code: 1 prebuild ERR! build at ChildProcess.onCpExit (D:\projects\planttron\planttron.API\node_modules\node-gyp\lib\configure.js:305:16) prebuild ERR! build at ChildProcess.emit (events.js:182:13) prebuild ERR! build at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.5.0 (node_modules\fs-ext): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs-ext@0.5.0 install: node-gyp configure build npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 (node_modules\snappy): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: snappy@5.0.5 install: node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: zmq@2.15.3 (node_modules\zmq): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: zmq@2.15.3 install: node-gyp rebuild npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: leveldown@1.4.6 (node_modules\leveldown): npm WARN optional SKIPPING OPTIONAL DEPENDENCY: leveldown@1.4.6 install: prebuild --install npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 2

zhaitianye commented 5 years ago

I also have such a problem. Have you solved it?

zhuzhengjing commented 5 years ago

me too, mosca requires too many other packages:


"requires": {
        "amqp": "~0.2.4",
        "array-from": "^2.1.1",
        "ascoltatori": "^3.0.0",
        "brfs": "~1.4.2",
        "clone": "^1.0.2",
        "commander": "~2.9.0",
        "deepcopy": "^0.6.1",
        "escape-string-regexp": "^1.0.5",
        "extend": "^3.0.0",
        "ioredis": "^1.15.1",
        "json-buffer": "~2.0.11",
        "jsonschema": "^1.0.3",
        "level-sublevel": "^6.5.2",
        "leveldown": "~1.4.3",
        "levelup": "^1.3.8",
        "lru-cache": "~4.0.0",
        "memdown": "~1.1.1",
        "minimatch": "~3.0.0",
        "mongodb": "~2.1.4",
        "moving-average": "0.1.1",
        "mqtt": "^1.6.3",
        "mqtt-connection": "^2.1.1",
        "msgpack5": "^3.3.0",
        "nanoid": "^0.2.2",
        "pbkdf2-password": "^1.1.0",
        "pino": "^2.4.2",
        "qlobber": "~0.7.0",
        "retimer": "^1.0.1",
        "st": "^1.1.0",
        "steed": "^1.0.0",
        "uuid": "^2.0.1",
        "websocket-stream": "~3.1.0"
      }
zhaitianye commented 5 years ago

Centos cannot be installed correctly but can be used normally. I am afraid that there will be an exception later.

ngfelixl commented 5 years ago

Having the same issue. OS is Windows 10 1803. There are the following errors

kerberos@0.0.24

..\fs-ext.cc(195): error C3861: 'fcntl': identifier not found [C:\Users\USER\Documents\Development\NodeJS\server\node_modules\fs-ext\build\fs-ext.vcxproj]
..\fs-ext.cc(374): error C3861: 'fcntl': identifier not found [C:\Users\USER\Documents\Development\NodeJS\server\node_modules\fs-ext\build\fs-ext.vcxproj]

snappy@5.0.5

c:\users\USER\documents\development\nodejs\server\node_modules\snappy\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\src\binding.cc)
[C:\Users\USER\Documents\Development\NodeJS\server\node_modules\snappy\build\binding.vcxproj]

zmo@2.15.3

c:\users\USER\documents\development\nodejs\server\node_modules\zmq\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: 'ForceSet': is not a member of 'v8::Object' (compiling source file ..\binding.cc) 
[C:\Users\USER\Documents\Development\NodeJS\server\node_modules\zmq\build\zmq.vcxproj]

leveldown@1.4.6

c:\users\USER\documents\development\nodejs\server\node_modules\leveldown\node_modules\nan\nan_maybe_43_inl.h(88): error C2039: 'ForceSet': is not a member of 'v8::Object'
(compiling source file ..\src\batch.cc)
[C:\Users\USER\Documents\Development\NodeJS\server\node_modules\leveldown\build\leveldown.vcxproj]

Also for compiling source file database.cc, batch_async.cc and database_async.cc

..\src\batch.cc(71): error C2661: 'v8::Function::NewInstance': no overloaded function takes 2 arguments [C:\Users\USER\Documents\Development\NodeJS\server\node_modules\leveldown\build\lev
eldown.vcxproj]

Same in line 74, 166

..\src\database.cc(458): error C2512: 'v8::TryCatch': no appropriate default constructor available [C:\Users\USER\Documents\Development\NodeJS\server\node_modules\leveldown\build\leveldow
n.vcxproj]

And some more ForceSet and v8::Function::NewInstance: no overloaded function takes 2 arguments errors.