2017-06-24 6 views
0

私はnode.jsをかなり使い慣れています。これはnpmを使った初めてのインストールです。私は何が間違っているのか分からないERRラインがたくさんある。TESTRPCはnpmからのERRをインストールします。Node.js

私はOS XにインストールしたばかりのノードJSでTESTRPCをインストールしようとコマンド

npm install -g ethereumjs-testrpc 

を使用しますが、私は問題は依存関係の1つから来ているERRORメッセージ

npm ERR! git clone --template=/Users/dion/.npm/_git-remotes/_templates 
--mirror https://github.com/debris/bignumber.js.git 
/Users/dion/.npm/_git-remotes/git-https-github-com-debris-bignumber-js- 
git-master-df3f1ce1: Cloning into bare repository 
'/Users/dion/.npm/_git-remotes/git-https-github-com-debris-bignumber- 
js-git-master-df3f1ce1'... 
npm ERR! git clone --template=/Users/dion/.npm/_git-remotes/_templates 
--mirror https://github.com/debris/bignumber.js.git 
/Users/dion/.npm/_git-remotes/git-https-github-com-debris-bignumber-js- 
git-master-df3f1ce1: remote: Repository not found. 
npm ERR! git clone --template=/Users/dion/.npm/_git-remotes/_templates 
--mirror https://github.com/debris/bignumber.js.git 
/Users/dion/.npm/_git-remotes/git-https-github-com-debris-bignumber-js- 
git-master-df3f1ce1: fatal: repository 
'https://github.com/debris/bignumber.js.git/' not found 
npm ERR! Darwin 15.5.0 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" 
"ethereumjs-testrpc" 
npm ERR! node v6.11.0 
npm ERR! npm v3.10.10 
npm ERR! code 128 

npm ERR! Command failed: git clone --template=/Users/dion/.npm/_git- 
remotes/_templates --mirror https://github.com/debris/bignumber.js.git 
/Users/dion/.npm/_git-remotes/git-https-github-com-debris-bignumber-js- 
git-master-df3f1ce1 
npm ERR! Cloning into bare repository '/Users/dion/.npm/_git- 
remotes/git-https-github-com-debris-bignumber-js-git-master- 
df3f1ce1'... 
npm ERR! remote: Repository not found. 
npm ERR! fatal: repository 
'https://github.com/debris/bignumber.js.git/' not found 
npm ERR! 
npm ERR! 
npm ERR! If you need help, you may report this error at: 
npm ERR!  <https://github.com/npm/npm/issues> 

npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/dion/npm-debug.log 

答えて

0

を得ました。 testRPCが使用しています。 もっと正確にBignumber.js私は何が起こったのだろうと思うのは、開発者がhttpsの代わりにsshリンクをクローンで追加したことでしょう。

これはおそらく開発者によっておそらく解決されているので、インストールするだけで完璧です。 または、この問題が発生していない古いバージョンを使用しています。

手動でプロジェクトを変更すると、package.jsonとrefrence bignumber.jsをhttpsリンクで手動でクローンし、最後に.gitを削除してからnpm install

を実行します
関連する問題