2016-04-06 19 views
0

Burada bir şeye bakmam gerektiğini hissediyorum.npm bağımlılıklar memnun değil (olmamasına rağmen mi?)

npm çalıştırmak varolan proje üzerinde yüklemeye çalışıyorum, ben (NPM-debug.log itibaren) aşağıdaki hatayı alıyorum:

anlarım kadarıyla
76 error Windows_NT 6.1.7601 
77 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
78 error node v4.4.2 
79 error npm v2.15.0 
80 error code EPEERINVALID 
81 error peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements! 
81 error peerinvalid Peer [email protected] wants [email protected]~0.4.0 
81 error peerinvalid Peer [email protected] wants [email protected]>=0.4.0 
81 error peerinvalid Peer [email protected] wants [email protected]~0.4.2 
81 error peerinvalid Peer [email protected] wants [email protected]~0.4.0 
81 error peerinvalid Peer [email protected] wants [email protected]~0.4.5 
82 verbose exit [ 1, true ] 

, [email protected] bütün yerine getirmelidir bu bağımlılıklar. this StackOverflow question itibaren

, benim anlayış paketleri aşağıdaki itimat şudur:

[email protected] bu bağımlılıkları tüm uymalıdır istiyor ve henüz npm Eğer bu olmuyorsa ve söylüyor yükleme başarısız. Baktığım bir şey var mı?

İstek üzerine

, benim package.json dosyası:

{ 
    "name": "glasses-1", 
    "siteUrl": "http://www.glasses.com/", 
    "version": "0.0.1", 
    "dependencies": { 
    "adaptivejs": "1.3.0", 
    "connect": "2.3.4", 
    "grunt": "0.4.2", 
    "grunt-concurrent": "0.4.3", 
    "mocha": "1.14.0", 
    "chai": "1.9.0", 
    "lodash": "~2.4.1", 
    "grunt-contrib-sass": "0.8.1", 
    "grunt-autoprefixer": "2.0.0" 
    }, 
    "devDependencies": { 
    "grunt": "^0.4.5", 
    "grunt-purifycss": "^0.1.0", 
    "grunt-sass": "^1.1.0", 
    "grunt-webfont": "^0.5.1", 
    "gulp-sass": "^2.1.0" 
    }, 
    "description": "This repository contains the code for the glasses-1 Adaptive.js project.", 
    "main": "Gruntfile.js", 
    "directories": { 
    "test": "tests" 
    }, 
    "scripts": { 
    "test": "mocha" 
    }, 
    "author": "", 
    "license": "ISC" 
} 
+1

paketi paylaşır mısınız edemez [email protected] gereken ikinci son satırından .json dosyası? –

+0

Asıl gönderiye düzenledim. Teşekkür ederim! – Cassie

cevap

İlgili konular