Open jasonfifa opened 1 year ago
just find the connection.
just use a different template.
git+https://github.com/jowy81/node8-multi-hashing or https://github.com/BlackPeter13/node8-multihashing or https://github.com/search?o=desc&q=node8-multi-hashing&s=&type=Code
https://github.com/Cideg/cryptonote-nodejs-pool/blob/patch-3/package.json
Still fail to run "npm update" with node version 11, 14, 16. (nvm use 16). Could you please advise which node version I should use?
that depends on which one you want to use and on which system.
for starters try version 11, otherwise higher
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash sudo apt-get install -y nodejs npm update
or https://github.com/Cideg/cryptonote-nodejs-pool/commit/858efc2d4a623900c9db5f357736f412111f6a0b --version v11.15.0
nvm install v11.15.0 nvm use v11.15.0
Still having error when runing "npm updte" using ubuntu 18 and nvm v11.15.0.
../boolberry.cc:2:10: fatal error: crypto/cryptonote_core/cryptonote_format_utils.h: No such file or directory
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
multihashing.target.mk:177: recipe for target 'Release/obj.target/multihashing/boolberry.o' failed
make: *** [Release/obj.target/multihashing/boolberry.o] Error 1
make: Leaving directory '/home/jc/pool/node_modules/turtlecoin-multi-hashing/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:193:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12)
gyp ERR! System Linux 4.15.0-196-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jc/pool/node_modules/turtlecoin-multi-hashing
gyp ERR! node -v v11.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! turtlecoin-multi-hashing@0.0.19 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the turtlecoin-multi-hashing@0.0.19 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I just ran "npm update" successfully after using the "github.com/jowy81/node8-multi-hashing" instead of "github.com/BlackPeter13/node8-multihashing".
Thanks!
There are 3 high severity vulnerabilities after running the "npm update". Can I just ignore it at the moment?
npm audit fix
to fix them, or npm audit
for details
jc@jc-161:~/pool$
Still having error when runing "npm updte" using ubuntu 18 and nvm v11.15.0.
../boolberry.cc:2:10: fatal error: crypto/cryptonote_core/cryptonote_format_utils.h: No such file or directory #include "crypto/cryptonote_core/cryptonote_format_utils.h" ^
~~~~~~~~~~~~~ compilation terminated. multihashing.target.mk:177: recipe for target 'Release/obj.target/multihashing/boolberry.o' failed make: *** [Release/obj.target/multihashing/boolberry.o] Error 1 make: Leaving directory '/home/jc/pool/node_modules/turtlecoin-multi-hashing/build' gyp ERR! build error gyp ERR! stack Error:make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:193:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) gyp ERR! System Linux 4.15.0-196-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/jc/pool/node_modules/turtlecoin-multi-hashing gyp ERR! node -v v11.15.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! turtlecoin-multi-hashing@0.0.19 install:node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the turtlecoin-multi-hashing@0.0.19 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Use node v12
"turtlecoin-multi-hashing": "git+https://github.com/benrod3k/node8-multi-hashing.git", it's ok
npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t https://github.com/turtlecoin/node8-multi-hashing.git npm ERR! npm ERR! ERROR: Repository not found. npm ERR! fatal: Could not read from remote repository.