dvandal / cryptonote-nodejs-pool

Mining pool for all CryptoNote based coins using Cryptonight, Cryptonight Light and Cryptonight Heavy algorithms
GNU General Public License v2.0
367 stars 611 forks source link

There is a "Repository not found" error when running "npm update" #714

Open jasonfifa opened 1 year ago

jasonfifa commented 1 year ago

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.

Cideg commented 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

jasonfifa commented 1 year ago

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?

Cideg commented 1 year ago

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

jasonfifa commented 1 year ago

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.

jasonfifa commented 1 year ago

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?


BreadJS commented 1 year ago

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

haov000 commented 9 months ago

"turtlecoin-multi-hashing": "git+https://github.com/benrod3k/node8-multi-hashing.git", it's ok