-
Notifications
You must be signed in to change notification settings - Fork 390
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
Error messages from npm install and npm run start. Willing to pay if resolved. #27
Comments
Hey @stahe86 I can help you, I just got it up and running. |
What version of node are you using ? |
@SamRaymond That would be great if you could. |
Hi, 1)Delete your node_module folder Hope it'll work |
@RAPHAELSTZ I deleted the no module folder. When clearing the cache, this is the error I got immediately: C:\Users\user>cd price-bot/ C:\Users\user\price-bot> npm cache clean Error: Cannot find module 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js' |
im having the same issue and haven't resolved it yet |
First string is from npm install, and second is from npm run start. I really hope someone can figure out how to fix these issues.
Microsoft Windows [Version 10.0.19041.928]
(c) Microsoft Corporation. All rights reserved.
C:\Users\user>cd price-bot/
C:\Users\user\price-bot>npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm WARN deprecated [email protected]: Package renamed: https://www.npmjs.com/package/eth-rpc-errors
C:\Users\user\price-bot\node_modules\scrypt>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 )
Warning: Missing input files:
C:\Users\user\price-bot\node_modules\scrypt\build..\scrypt\win\include\config.h
Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Copying scrypt/win/include/config.h to scrypt/scrypt-1.2.0/config.h
The system cannot find the file specified.
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(24
0,5): warning MSB8064: Custom build for item "..\scrypt\win\include\config.h" succeeded, but specified dependency "c:\u
sers\user\price-bot\node_modules\scrypt\scrypt\win\include\config.h" does not exist. This may cause incremental build
to work incorrectly. [C:\Users\user\price-bot\node_modules\scrypt\build\copied_files.vcxproj]
win_delay_load_hook.cc
copied_files.vcxproj -> C:\Users\user\price-bot\node_modules\scrypt\build\Release\copied_files.node
memlimit.c
keyderivation.c
pickparams.c
hash.c
win_delay_load_hook.cc
scrypt_wrapper.vcxproj -> C:\Users\user\price-bot\node_modules\scrypt\build\Release\scrypt_wrapper.lib
crypto_scrypt.c
crypto_scrypt_smix.c
warnp.c
sha256.c
insecure_memzero.c
scryptenc_cpuperf.c
mman.c
gettimeofday.c
win_delay_load_hook.cc
scrypt_lib.vcxproj -> C:\Users\user\price-bot\node_modules\scrypt\build\Release\scrypt_lib.lib
scrypt_common.cc
scrypt_params_async.cc
scrypt_params_sync.cc
scrypt_kdf_async.cc
scrypt_kdf_sync.cc
scrypt_kdf-verify_sync.cc
scrypt_kdf-verify_async.cc
scrypt_hash_sync.cc
scrypt_hash_async.cc
scrypt_node.cc
win_delay_load_hook.cc
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_async.h(53,15): warning C4996: 'Nan::Callb
ack::Call': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [C:\Users\st
ahe\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_sync.cc) [C
:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_sync.cc) [C
:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_params_async.h(35,1): error C2660: 'v8::Va
lue::NumberValue': function does not take 0 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_asyn
c.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2861,39): message : see declaration of 'v8::Value
::NumberValue' (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [C:\Users\user\price-bot\node_mo
dules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_sync.cc) [C
:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_sync.cc) [C:
Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_params_async.h(36,1): error C2660: 'v8::Va
lue::NumberValue': function does not take 0 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_asyn
c.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2861,39): message : see declaration of 'v8::Value
::NumberValue' (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [C:\Users\user\price-bot\node_mo
dules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(25,47): error C2660: 'v8::Value
::NumberValue': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2861,39): message : see declaration of 'v8::Value
::NumberValue' (compiling source file ..\src\node-boilerplate\scrypt_params_sync.cc) [C:\Users\user\price-bot\node_mod
ules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_sync.cc) [C:
Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_params_async.h(37,1): error C2660: 'v8::Va
lue::IntegerValue': function does not take 0 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_asy
nc.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2863,40): message : see declaration of 'v8::Value
::IntegerValue' (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [C:\Users\user\price-bot\node_m
odules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(25,16): error C2737: 'maxtime':
const object must be initialized [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_sync.cc) [C:
Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_params_async.h(38,1): error C2660: 'v8::Va
lue::IntegerValue': function does not take 0 arguments (compiling source file ..\src\node-boilerplate\scrypt_params_asy
nc.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2863,40): message : see declaration of 'v8::Value
::IntegerValue' (compiling source file ..\src\node-boilerplate\scrypt_params_async.cc) [C:\Users\user\price-bot\node_m
odules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(26,47): error C2660: 'v8::Value
::IntegerValue': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2863,40): message : see declaration of 'v8::Value
::IntegerValue' (compiling source file ..\src\node-boilerplate\scrypt_params_sync.cc) [C:\Users\user\price-bot\node_mo
dules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_hash_sync.cc(24,55): error C2660: 'v8::Value::
ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\node-boilerplate\scrypt_hash_sync.cc) [C:\Users\user\price-bot\node_modules
scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-verify_sync.cc
) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(26,16): error C2737: 'maxmem':
const object must be initialized [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_hash_sync.cc(24,28): error C2737: 'params': co
nst object must be initialized [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_async.cc(23,67): error C2661: 'v8::Obje
ct::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-verify_sync.cc
) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(27,50): error C2660: 'v8::Value
::NumberValue': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2861,39): message : see declaration of 'v8::Value
::NumberValue' (compiling source file ..\src\node-boilerplate\scrypt_params_sync.cc) [C:\Users\user\price-bot\node_mod
ules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_hash_sync.cc(25,50): error C2660: 'v8::Value::
IntegerValue': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2863,40): message : see declaration of 'v8::Value
::IntegerValue' (compiling source file ..\src\node-boilerplate\scrypt_hash_sync.cc) [C:\Users\user\price-bot\node_modu
les\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_async.cc(24,64): error C2661: 'v8::Obje
ct::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-verify_sync.cc
) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-verify_async.c
c) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_hash_sync.cc(25,16): error C2737: 'hash_size':
const object must be initialized [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(27,16): error C2737: 'maxmemfra
c': const object must be initialized [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_async.cc(25,64): error C2661: 'v8::Obje
ct::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-verify_async.c
c) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(28,50): error C2660: 'v8::Value
::IntegerValue': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2863,40): message : see declaration of 'v8::Value
::IntegerValue' (compiling source file ..\src\node-boilerplate\scrypt_params_sync.cc) [C:\Users\user\price-bot\node_mo
dules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-verify_async.c
c) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_async.cc(32,11): warning C4996: 'Nan::C
allback::Call': was declared deprecated [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [C:
\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [C:
Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(28,16): error C2737: 'osfreemem
': const object must be initialized [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [C:
\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_async.h(53,15): warning C4996: 'Nan::Callb
ack::Call': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_kdf-verify_async.cc) [C:\User
s\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(39,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_sync.cc) [C:\U
sers\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [C:
Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [C:
\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(40,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_sync.cc) [C:\U
sers\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf-verify_async.h(40,1): error C2661: 'v8
::Object::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-veri
fy_async.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(46,67): error C2661: 'v8::Objec
t::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [C:
Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf-verify_async.h(41,1): error C2661: 'v8
::Object::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf-veri
fy_async.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_common.h(41,1): error C2661: 'v8::Object::
Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_sync.cc) [C:\U
sers\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(47,64): error C2661: 'v8::Objec
t::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_async.h(53,15): warning C4996: 'Nan::Callb
ack::Call': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [C:\Users\stah
e\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_async.h(53,15): warning C4996: 'Nan::Callb
ack::Call': was declared deprecated (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [C:\Users\user
\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_kdf-verify_async.cc(30,11): warning C4996: 'Na
n::Callback::Call': was declared deprecated [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_params_sync.cc(48,64): error C2661: 'v8::Objec
t::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_kdf_sync.cc(29,57): error C2660: 'v8::Value::T
oObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\node-boilerplate\scrypt_kdf_sync.cc) [C:\Users\user\price-bot\node_modules\s
crypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_kdf_sync.cc(29,30): error C2737: 'params': con
st object must be initialized [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_hash_async.h(36,1): error C2660: 'v8::Valu
e::ToObject': function does not take 0 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [C:\Users\user\price-bot\node_modules
\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf_async.h(36,1): error C2660: 'v8::Value
::ToObject': function does not take 0 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [C:
\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [C:\Users\user\price-bot\node_modules
scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_hash_async.h(37,1): error C2660: 'v8::Valu
e::IntegerValue': function does not take 0 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.c
c) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2863,40): message : see declaration of 'v8::Value
::IntegerValue' (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [C:\Users\user\price-bot\node_mod
ules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf_async.h(36,13): error C2512: 'NodeScry
pt::Params::Params': no appropriate default constructor available (compiling source file ..\src\node-boilerplate\scrypt
_kdf_async.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_hash_async.h(36,13): error C2512: 'NodeScr
ypt::Params::Params': no appropriate default constructor available (compiling source file ..\src\node-boilerplate\scryp
t_hash_async.cc) [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf_async.h(40,1): error C2661: 'v8::Objec
t::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_hash_async.h(42,1): error C2661: 'v8::Obje
ct::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc)
[C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_hash_async.h(43,1): error C2661: 'v8::Obje
ct::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc)
[C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf_async.h(41,1): error C2661: 'v8::Objec
t::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_hash_async.h(44,1): error C2661: 'v8::Obje
ct::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc)
[C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf_async.h(42,1): error C2661: 'v8::Objec
t::Set': no overloaded function takes 2 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_kdf_async.h(45,1): error C2661: 'v8::Objec
t::Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [
C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\inc\scrypt_hash_async.h(47,1): error C2661: 'v8::Obje
ct::Get': no overloaded function takes 1 arguments (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc)
[C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_kdf_async.cc(25,62): error C2660: 'v8::Value::
ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\node-boilerplate\scrypt_kdf_async.cc) [C:\Users\user\price-bot\node_modules
scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_hash_async.cc(49,58): error C2660: 'v8::Value:
:ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\node-boilerplate\scrypt_hash_async.cc) [C:\Users\user\price-bot\node_modules
\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_hash_async.cc(52,11): warning C4996: 'Nan::Cal
lback::Call': was declared deprecated [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
C:\Users\user\price-bot\node_modules\scrypt\src\node-boilerplate\scrypt_kdf_async.cc(28,13): warning C4996: 'Nan::Call
back::Call': was declared deprecated [C:\Users\user\price-bot\node_modules\scrypt\build\scrypt.vcxproj]
gyp ERR! build error
gyp ERR! stack Error:
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
failed with exit code: 1gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:376:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19041
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\user\price-bot\node_modules\scrypt
gyp ERR! node -v v14.17.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket>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 )
Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
bufferutil.cc
win_delay_load_hook.cc
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(34,1): error C2660: 'v
8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-provi
ders-ws\node_modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(6482,46): message : see declaration of 'v8::Funct
ionTemplate::GetFunction' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-prov
iders-ws\node_modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(34,1): error C2661: 'N
an::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_module
s\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(50,1): error C2660: 'v
8::Value::ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_m
odules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(57,1): error C2661: 'v
8::Object::Get': no overloaded function takes 1 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(68,1): error C2660: 'v
8::Value::ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_m
odules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\node
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(70,1): error C2660: 'v
8::Value::ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_m
odules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(89,1): error C2660: 'v
8::Value::ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_m
odules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(90,1): error C2660: 'v
8::Value::ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_m
odules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(92,1): error C2660: 'v
8::Value::ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_m
odules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(93,1): error C2660: 'v
8::Value::Int32Value': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2869,40): message : see declaration of 'v8::Value
::Int32Value' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\nod
e_modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\bufferutil.cc(94,1): error C2660: 'v
8::Value::Int32Value': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node
modules\websocket\build\bufferutil.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2869,40): message : see declaration of 'v8::Value
::Int32Value' (compiling source file ..\src\bufferutil.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\nod
e_modules\websocket\build\bufferutil.vcxproj]
validation.cc
win_delay_load_hook.cc
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\validation.cc(114,1): error C2660: '
v8::FunctionTemplate::GetFunction': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-prov
iders-ws\node_modules\websocket\build\validation.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(6482,46): message : see declaration of 'v8::Funct
ionTemplate::GetFunction' (compiling source file ..\src\validation.cc) [C:\Users\user\price-bot\node_modules\web3-prov
iders-ws\node_modules\websocket\build\validation.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\validation.cc(114,1): error C2661: '
Nan::Set': no overloaded function takes 2 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modul
es\websocket\build\validation.vcxproj]
C:\Users\user\price-bot\node_modules\web3-providers-ws\node_modules\websocket\src\validation.cc(133,1): error C2660: '
v8::Value::ToObject': function does not take 0 arguments [C:\Users\user\price-bot\node_modules\web3-providers-ws\node
modules\websocket\build\validation.vcxproj]
C:\Users\user\AppData\Local\node-gyp\Cache\14.17.0\include\node\v8.h(2822,44): message : see declaration of 'v8::Value
::ToObject' (compiling source file ..\src\validation.cc) [C:\Users\user\price-bot\node_modules\web3-providers-ws\node
modules\websocket\build\validation.vcxproj]
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @babel/core@^7.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.4.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/[email protected] requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\scrypt):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install:
node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
added 93 packages from 146 contributors, removed 3 packages, moved 7 packages and audited 701 packages in 27.489s
24 packages are looking for funding
run
npm fund
for detailsfound 3046 vulnerabilities (809 low, 434 moderate, 1803 high)
run
npm audit fix
to fix them, ornpm audit
for detailsC:\Users\user\price-bot>
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
C:\Users\user\price-bot>npm run start
Listening on 5000
Checking prices...
Error: Provider not set or invalid
at Object.InvalidProvider (C:\Users\user\price-bot\node_modules\web3-core-helpers\src\errors.js:38:16)
at RequestManager.send (C:\Users\user\price-bot\node_modules\web3-core-requestmanager\src\index.js:128:32)
at sendRequest (C:\Users\user\price-bot\node_modules\web3-core-method\src\index.js:560:42)
at send (C:\Users\user\price-bot\node_modules\web3-core-method\src\index.js:581:13)
at Object._executeMethod (C:\Users\user\price-bot\node_modules\web3-eth-contract\src\index.js:826:24)
at checkPair (C:\Users\user\price-bot\index.js:36:96)
at monitorPrice (C:\Users\user\price-bot\index.js:68:11)
at Timeout._onTimeout (C:\Users\user\price-bot\index.js:112:48)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)
The text was updated successfully, but these errors were encountered: