Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when installing tatum #8

Open
gannher opened this issue Sep 26, 2021 · 3 comments
Open

Issue when installing tatum #8

gannher opened this issue Sep 26, 2021 · 3 comments

Comments

@gannher
Copy link

gannher commented Sep 26, 2021

Hello

npm -v : 6.14.15
node -v : v14.17.6

Command : npm i -g @tatumio/tatum-cli

Result :

npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/web3-js/scrypt-shim.git /root/.npm/_cacache/tmp/git-clone-a7f96570/.git
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-a7f96570/.git'
npm ERR! 

When I run manually "git clone --mirror -q git://github.com/web3-js/scrypt-shim.git /root/.npm/_cacache/tmp/git-clone-a7f96570/.git", this command works but not with npm.

ls -la /root/.npm/_cacache/tmp/
total 8
drwxrwxrwx 2 nobody root 4096 Sep 26 12:08 .
drwxrwxrwx 5 nobody root 4096 Sep 26 11:52 ..

How to fix that ? Thanks.

@dellasorte
Copy link

same issue. DEVS ARE YOU HERE

@dellasorte
Copy link

last commit august , no they seemed not giving a fuck. I really tired of this bullshit called NODEJS. every damn project I trying to install using this stupid slow idiotic npm leads me to errors, hours of reading logs, for some reason this shit never works, and this shit can't even handle the permissions and local/global namespaces. here is what I am trying to say - FUCK NODE JS FUCK NPM

@joeljuca
Copy link

Same issue here. Got the error below after running npm I -g @tatumio/tatum-cli. Is there anyone maintaining this package?

npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=$HOME/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path $HOME/.npm/_cacache/tmp/git-clone8iRGwP
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c node ./scripts/postinstall.js
npm ERR! npm ERR! node:internal/modules/cjs/loader:936
npm ERR! npm ERR!   throw err;
npm ERR! npm ERR!   ^
npm ERR! npm ERR!
npm ERR! npm ERR! Error: Cannot find module 'semver'
npm ERR! npm ERR! Require stack:
npm ERR! npm ERR! - $HOME/.npm/_cacache/tmp/git-clone8iRGwP/scripts/postinstall.js
npm ERR! npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
npm ERR! npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:778:27)
npm ERR! npm ERR!     at Module.require (node:internal/modules/cjs/loader:999:19)
npm ERR! npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
npm ERR! npm ERR!     at Object.<anonymous> ($HOME/.npm/_cacache/tmp/git-clone8iRGwP/scripts/postinstall.js:1:14)
npm ERR! npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1099:14)
npm ERR! npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
npm ERR! npm ERR!     at Module.load (node:internal/modules/cjs/loader:975:32)
npm ERR! npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
npm ERR! npm ERR!     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
npm ERR! npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR! npm ERR!   requireStack: [ '$HOME/.npm/_cacache/tmp/git-clone8iRGwP/scripts/postinstall.js' ]
npm ERR! npm ERR! }
npm ERR! npm ERR!
npm ERR! npm ERR! Node.js v17.7.2
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     $HOME/.npm/_logs/2022-03-23T08_52_34_706Z-debug-0.log

npm ERR! A complete log of this run can be found in:
npm ERR!     $HOME/.npm/_logs/2022-03-23T08_49_48_947Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants