You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Udit. It seems that your chess project has some troubles installing for me. Actually I would like to hire you to help me get this running. Can you email me at [email protected]? I have also reached out via twitter. Thank you :)
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info find Python using Python version 3.8.10 found at "/usr/bin/python3"
gyp http GET https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v18.11.0/node-v18.11.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v18.11.0/SHASUMS256.txt
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/mnt/c/Users/Oscar/Downloads/Web3-Chess-main/packages/frontend/node_modules/node-webcrypto-ossl/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/root/.cache/node-gyp/18.11.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=/root/.cache/node-gyp/18.11.0',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/18.11.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/mnt/c/Users/Oscar/Downloads/Web3-Chess-main/packages/frontend/node_modules/node-webcrypto-ossl',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/mnt/c/Users/Oscar/Downloads/Web3-Chess-main/packages/frontend/node_modules/node-webcrypto-ossl/build'
CXX(target) Release/obj.target/nodessl/src/main.o
In file included from ../../nan/nan.h:60,
from ../src/node/../core/common.h:8,
from ../src/node/common.h:4,
from ../src/main.cpp:1:
/root/.cache/node-gyp/18.11.0/include/node/node.h:976:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
976 | (node::addon_register_func) (regfunc), \
| ^
/root/.cache/node-gyp/18.11.0/include/node/node.h:1010:3: note: in expansion of macro ‘NODE_MODULE_X’
1010 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/main.cpp:93:1: note: in expansion of macro ‘NODE_MODULE’
93 | NODE_MODULE(nodessl, InitModule);
| ^~~~~~~~~~~
CXX(target) Release/obj.target/nodessl/src/core/key_exp.o
../src/core/key_exp.cpp: In function ‘Handle<std::__cxx11::basic_string<char> > KEY_export_spki(EVP_PKEY*)’:
../src/core/key_exp.cpp:41:26: error: invalid conversion from ‘int (*)(BIO*, const EVP_PKEY*)’ {aka ‘int (*)(bio_st*, const evp_pkey_st*)’} to ‘int (*)(BIO*, EVP_PKEY*)’ {aka ‘int (*)(bio_st*, evp_pkey_st*)’} [-fpermissive]
41 | return KEY_export(pkey, &i2d_PUBKEY_bio);
| ^~~~~~~~~~~~~~~
| |
| int (*)(BIO*, const EVP_PKEY*) {aka int (*)(bio_st*, const evp_pkey_st*)}
../src/core/key_exp.cpp:5:60: note: initializing argument 2 of ‘Handle<std::__cxx11::basic_string<char> > KEY_export(EVP_PKEY*, int (*)(BIO*, EVP_PKEY*))’
5 | static Handle<std::string> KEY_export(EVP_PKEY *pkey, int(*i2d_function_bio)(BIO *bp, EVP_PKEY *key)) {
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/core/key_exp.cpp: In function ‘Handle<std::__cxx11::basic_string<char> > KEY_export_pkcs8(EVP_PKEY*)’:
../src/core/key_exp.cpp:54:26: error: invalid conversion from ‘int (*)(BIO*, const EVP_PKEY*)’ {aka ‘int (*)(bio_st*, const evp_pkey_st*)’} to ‘int (*)(BIO*, EVP_PKEY*)’ {aka ‘int (*)(bio_st*, evp_pkey_st*)’} [-fpermissive]
54 | return KEY_export(pkey, &i2d_PKCS8PrivateKeyInfo_bio);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| int (*)(BIO*, const EVP_PKEY*) {aka int (*)(bio_st*, const evp_pkey_st*)}
../src/core/key_exp.cpp:5:60: note: initializing argument 2 of ‘Handle<std::__cxx11::basic_string<char> > KEY_export(EVP_PKEY*, int (*)(BIO*, EVP_PKEY*))’
5 | static Handle<std::string> KEY_export(EVP_PKEY *pkey, int(*i2d_function_bio)(BIO *bp, EVP_PKEY *key)) {
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [nodessl.target.mk:150: Release/obj.target/nodessl/src/core/key_exp.o] Error 1
make: Leaving directory '/mnt/c/Users/Oscar/Downloads/Web3-Chess-main/packages/frontend/node_modules/node-webcrypto-ossl/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
gyp ERR! stack at ChildProcess.emit (node:events:513:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.15.90.1-microsoft-standard-WSL2
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /mnt/c/Users/Oscar/Downloads/Web3-Chess-main/packages/frontend/node_modules/node-webcrypto-ossl
The text was updated successfully, but these errors were encountered:
Hey Udit. It seems that your chess project has some troubles installing for me. Actually I would like to hire you to help me get this running. Can you email me at [email protected]? I have also reached out via twitter. Thank you :)
The text was updated successfully, but these errors were encountered: