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

I am not able to install npm in mblock master directory #97

Open
PatelManav20 opened this issue Sep 21, 2022 · 0 comments
Open

I am not able to install npm in mblock master directory #97

PatelManav20 opened this issue Sep 21, 2022 · 0 comments

Comments

@PatelManav20
Copy link

D:\mBlock\mBlock-master>npm install
npm WARN deprecated [email protected]: This version is no longer supported, to receive security updates and bug fixes upgrade to the latest version.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
npm WARN deprecated [email protected]: Package renamed as '@messageformat/core', see messageformat.github.io for more details. 'messageformat@4' will eventually provide a polyfill for Intl.MessageFormat, once it's been defined by Unicode & ECMA.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm ERR! code 1
npm ERR! path D:\mBlock\mBlock-master\node_modules\serialport
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
npm ERR! serialport.cpp
npm ERR! serialport.cpp
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(90): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(94): error C2660: 'v8::Value::ToBoolean': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3086): note: see declaration of 'v8::Value::ToBoolean'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(98): error C2660: 'v8::Value::ToString': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3048): note: see declaration of 'v8::Value::ToString'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(102): error C2660: 'v8::Value::ToNumber': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3043): note: see declaration of 'v8::Value::ToNumber'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(111): error C2660: 'v8::Value::ToString': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3048): note: see declaration of 'v8::Value::ToString'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(111): error C2512: 'v8::String::Utf8Value::Utf8Value': no appropriate default constructor available [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(118): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(141): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(174): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(180): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(193): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(200): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(217): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(240): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(252): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(259): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(339): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(369): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(403): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(465): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(480): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(516): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(528): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(535): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(573): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(585): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(617): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2039: 'Handle': is not a member of 'v8' [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8-platform.h(16): note: see declaration of 'v8'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2065: 'Handle': undeclared identifier [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2275: 'v8::Object': illegal use of this type as an expression [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): note: see declaration of 'v8::Object'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2065: 'target': undeclared identifier [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2182: 'init': illegal use of type 'void' [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2448: 'init': function-style initializer appears to be a function definition [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(670): warning C4312: 'type cast': conversion from 'int' to 'node::addon_register_func' of greater size [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(90): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(94): error C2660: 'v8::Value::ToBoolean': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3086): note: see declaration of 'v8::Value::ToBoolean'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(98): error C2660: 'v8::Value::ToString': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3048): note: see declaration of 'v8::Value::ToString'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(102): error C2660: 'v8::Value::ToNumber': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3043): note: see declaration of 'v8::Value::ToNumber'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(111): error C2660: 'v8::Value::ToString': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3048): note: see declaration of 'v8::Value::ToString'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(111): error C2512: 'v8::String::Utf8Value::Utf8Value': no appropriate default constructor available [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(118): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(141): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(174): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(180): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(193): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(200): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(217): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(240): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(252): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(259): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(339): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(369): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(403): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(465): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(480): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(516): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(528): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(535): error C2660: 'v8::Value::ToObject': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3060): note: see declaration of 'v8::Value::ToObject'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(573): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(585): error C2660: 'v8::Value::ToInt32': function does not take 0 arguments [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8.h(3081): note: see declaration of 'v8::Value::ToInt32'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(617): warning C4996: 'Nan::Callback::Call': was declared deprecated [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\nan\nan.h(1746): note: see declaration of 'Nan::Callback::Call'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2039: 'Handle': is not a member of 'v8' [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! c:\users\manav\appdata\local\node-gyp\cache\16.13.1\include\node\v8-platform.h(16): note: see declaration of 'v8'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2065: 'Handle': undeclared identifier [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2275: 'v8::Object': illegal use of this type as an expression [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): note: see declaration of 'v8::Object'
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2065: 'target': undeclared identifier [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2182: 'init': illegal use of type 'void' [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(653): error C2448: 'init': function-style initializer appears to be a function definition [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]npm ERR! d:\mblock\mblock-master\node_modules\serialport\src\serialport.cpp(670): warning C4312: 'type cast': conversion from 'int' to 'node::addon_register_func' of greater size [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR! FileTracker : error FTK1011: could not create the new file tracking log file: D:\mBlock\mBlock-master\node_modules\serialport\build\Release\obj\serialport\serialport.tlog\CL.read.1.tlog. The file exists. [D:\mBlock\mBlock-master\node_modules\serialport\build\serialport.vcxproj]
npm ERR!
npm ERR!
npm ERR!
npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\mBlock\mBlock-master\node_modules\serialport\build\Release\serialport.node --module_name=serialport --module_path=D:\mBlock\mBlock-master\node_modules\serialport\build\Release' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using [email protected]
npm ERR! node-pre-gyp info using [email protected] | win32 | x64
npm ERR! node-pre-gyp info check checked for "D:\mBlock\mBlock-master\node_modules\serialport\build\Release\serialport.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-win32-x64.tar.gz
npm ERR! node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http Connection closed while downloading tarball file
npm ERR! gypgyp info it worked if it ends with ok
npm ERR! info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp infogyp info ok
npm ERR! ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.8.5 found at "C:\Users\manav\AppData\Local\Programs\Python\Python38-32\python.exe"
npm ERR! gyp info find Python using Python version 3.8.5 found at "C:\Users\manav\AppData\Local\Programs\Python\Python38-32\python.exe"
npm ERR! gyp info find VS using VS2017 (15.9.28307.1778) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Users\manav\AppData\Local\Programs\Python\Python38-32\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'D:\mBlock\mBlock-master\node_modules\serialport\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\manav\AppData\Local\node-gyp\Cache\16.13.1\include\node\common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\manav\AppData\Local\node-gyp\Cache\16.13.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\manav\\AppData\\Local\\node-gyp\\Cache\\16.13.1\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=D:\mBlock\mBlock-master\node_modules\serialport',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'D:\mBlock\mBlock-master\node_modules\serialport\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info find VS using VS2017 (15.9.28307.1778) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp info spawn C:\Users\manav\AppData\Local\Programs\Python\Python38-32\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'msvs',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'D:\mBlock\mBlock-master\node_modules\serialport\build\config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args 'C:\Users\manav\AppData\Local\node-gyp\Cache\16.13.1\include\node\common.gypi',npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=C:\Users\manav\AppData\Local\node-gyp\Cache\16.13.1',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\Users\\manav\\AppData\\Local\\node-gyp\\Cache\\16.13.1\\<(target_arch)\\node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=D:\mBlock\mBlock-master\node_modules\serialport',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'D:\mBlock\mBlock-master\node_modules\serialport\build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build/binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args 'build/binding.sln',
npm ERR! gyp info spawn args '/clp:Verbosity=minimal',
npm ERR! gyp info spawn args '/nologo',
npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=D:\mBlock\mBlock-master\node_modules\serialport\build\Release\serialport.node" "--module_name=serialport" "--module_path=D:\mBlock\mBlock-master\node_modules\serialport\build\Release"
npm ERR! gyp ERR! cwd D:\mBlock\mBlock-master\node_modules\serialport
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "build" "--fallback-to-build" "--module=D:\mBlock\mBlock-master\node_modules\serialport\build\Release\serialport.node" "--module_name=serialport" "--module_path=D:\mBlock\mBlock-master\node_modules\serialport\build\Release"
npm ERR! gyp ERR! cwd D:\mBlock\mBlock-master\node_modules\serialport
npm ERR! gyp ERR! node -v v16.13.1
npm ERR! gyp ERR! node-gyp -v v8.3.0
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\mBlock\mBlock-master\node_modules\serialport\build\Release\serialport.node --module_name=serialport --module_path=D:\mBlock\mBlock-master\node_modules\serialport\build\Release' (1)
npm ERR! node-pre-gyp ERR! stack at ChildProcess. (D:\mBlock\mBlock-master\node_modules\serialport\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19043
npm ERR! node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\mBlock\mBlock-master\node_modules\serialport\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd D:\mBlock\mBlock-master\node_modules\serialport
npm ERR! node-pre-gyp ERR! node -v v16.13.1
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
npm ERR! node-pre-gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\manav\AppData\Local\npm-cache_logs\2022-09-21T08_04_57_993Z-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant