cryptonote-nodejs-pool icon indicating copy to clipboard operation
cryptonote-nodejs-pool copied to clipboard

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

Open jasonfifa opened this issue 2 years ago • 7 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.

jasonfifa avatar Dec 05 '22 20:12 jasonfifa

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

Cideg avatar Dec 06 '22 18:12 Cideg

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?

jasonfifa avatar Dec 07 '22 06:12 jasonfifa

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

Cideg avatar Dec 07 '22 13:12 Cideg

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! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

jasonfifa avatar Dec 07 '22 19:12 jasonfifa

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?



jasonfifa avatar Dec 07 '22 19:12 jasonfifa

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! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Use node v12

BreadJS avatar Apr 05 '23 10:04 BreadJS

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

haov000 avatar Jan 30 '24 12:01 haov000