You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
Just did a node install from their pkg download on a brand new machine. Running npm install fails, but
a) yarn works fine and
b) npm installing other packages works fine
node -v
v9.3.0
npm -v
5.6.0
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q https://github.com/frozeman/bignumber.js-nolookahead.git /Users/tomhschmidt/.npm/_cacache/tmp/git-clone-58bc61de
npm ERR! /Users/tomhschmidt/.npm/_cacache/tmp/git-clone-58bc61de/.git: Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tomhschmidt/.npm/_logs/2018-01-09T18_39_14_375Z-debug.log
macbook-pro:pipeline tomhschmidt$ sudo npm install --save 0x.js
Password:
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone -q https://github.com/frozeman/bignumber.js-nolookahead.git /Users/tomhschmidt/.npm/_cacache/tmp/git-clone-42a0a849
npm ERR! /Users/tomhschmidt/.npm/_cacache/tmp/git-clone-42a0a849/.git: Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/tomhschmidt/.npm/_logs/2018-01-09T19_30_18_792Z-debug.log
The text was updated successfully, but these errors were encountered:
@tomhschmidt This is likely due to a web3.js dependency that is hosted on github rather than npm. Do you have git installed on you new machine? This issue suggests that may be the problem.
Otherwise there is an open discussion in the web3.js repo. Apparently this dependency will go away in web3.js 1.0, but I'm unsure of a timeline.
I just tried installing web3 with npm and got the same error, so you're right. Kind of a bummer :/ -- weird that it works with yarn but not with npm. Is there a yarn pkg for this bignumber git repo?
Just did a node install from their pkg download on a brand new machine. Running npm install fails, but
a) yarn works fine and
b) npm installing other packages works fine
The text was updated successfully, but these errors were encountered: