dvandal / cryptonote-nodejs-pool

Mining pool for all CryptoNote based coins using Cryptonight, Cryptonight Light and Cryptonight Heavy algorithms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jasonfifa opened this issue · comments

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.

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?

commented

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
Cideg@858efc2
--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
#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.

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?


  • cryptoforknote-util@12.0.0
  • turtlecoin-multi-hashing@0.0.19
  • cryptonight-hashing@28.0.7
    updated 3 packages and audited 210 packages in 69.45s
    found 3 high severity vulnerabilities
    run 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