2016-08-24 5 views
0

最近、githubからコードをダウンロードしてインストールしようとしました。npmインストールエラー(致命的:不正なオブジェクトf18e4d058698a689943db9cb41f767efbc2c85ed)

しかし、私は、プロセスお尻中にエラーが続いた:

[email protected]:~/copay$ npm install 
npm ERR! git rev-list -n1 f18e4d058698a689943db9cb41f767efbc2c85ed: fatal: bad object f18e4d058698a689943db9cb41f767efbc2c85ed 
npm ERR! git rev-list -n1 f18e4d058698a689943db9cb41f767efbc2c85ed: 
npm ERR! Darwin 15.5.0 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" 
npm ERR! node v6.4.0 
npm ERR! npm v3.10.3 
npm ERR! code 128 

次はpackage.jsonの一部です。誰も私にそれを解決する方法を教えてもらえますか?

"dependencies": { 
    "bitcore-wallet-client": "git://github.com/digibyte/bitcore-wallet-client.git#32b2f6434d1d4a77d4878d7dee9cf374086c3966", 
    "express": "^4.11.2", 
    "fs": "0.0.2", 
    "grunt": "^0.4.5", 
    "grunt-angular-gettext": "^0.2.15", 
    "grunt-browserify": "^4.0.1", 
    "grunt-cli": "^0.1.13", 
    "grunt-contrib-compress": "^0.13.0", 
    "grunt-contrib-concat": "^0.5.1", 
    "grunt-contrib-copy": "^0.8.1", 
    "grunt-contrib-uglify": "^0.9.2", 
    "grunt-contrib-watch": "^0.6.1", 
    "grunt-exec": "^0.4.6", 
    "shelljs": "^0.3.0" 
    }, 

BR、

テリー

答えて

0

gitのリンクが間違っているか、存在しないものを指しているような問題が見えます。必要なbitcore-wallet-clientのバージョンに置き換えると、問題を解決するはずです。例えば

、私はNPM package.jsonファイルでこれをインストールしてみました:

{ 
    "name": "best bitcoin service", 
    "version": "1.0.0", 
    "description": "please no npm errs", 
    "dependencies": { 
    "bitcore-wallet-client": "1.3.0", 
    "express": "^4.11.2", 
    "fs": "0.0.2", 
    "grunt": "^0.4.5", 
    "grunt-angular-gettext": "^0.2.15", 
    "grunt-browserify": "^4.0.1", 
    "grunt-cli": "^0.1.13", 
    "grunt-contrib-compress": "^0.13.0", 
    "grunt-contrib-concat": "^0.5.1", 
    "grunt-contrib-copy": "^0.8.1", 
    "grunt-contrib-uglify": "^0.9.2", 
    "grunt-contrib-watch": "^0.6.1", 
    "grunt-exec": "^0.4.6", 
    "shelljs": "^0.3.0" 
    }, 
} 

といくつかの警告で成功してインストールします

npm install 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. 
npm WARN deprecated [email protected]: the module is now available as 'css-select' 
npm WARN deprecated [email protected]: the module is now available as 'css-what' 
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue 
npm WARN deprecated [email protected]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^4.0.0. 

> [email protected] install /Users/phillipsc/code/temp/stackOverflow/node_modules/fsevents 
> node-pre-gyp install --fallback-to-build 

[fsevents] Success: "/Users/phillipsc/code/temp/stackOverflow/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" is installed via remote 
[email protected] /Users/phillipsc/code/temp/stackOverflow 
├─┬ [email protected] 
│ ├── [email protected] 
│ ├─┬ [email protected] 
│ │ ├── [email protected] 

ということで、それが伝えるのは難しいですpackage.jsonの投稿されたサブセクションの由来を知ることなく、あなたが必要とする正確なものです。

関連する問題