2016-09-22 138 views
1

當我嘗試安裝NPM模塊(sendmail的),我有這個控制檯:反應安裝包NPM

npm ERR! Windows_NT 6.3.9600 
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\ProgramFiles\nodejs\node_modules\npm\bin\npm-cli.js" "install" "sendmail" 
npm ERR! node v4.4.5 
npm ERR! npm v2.15.5 
npm ERR! code EPEERINVALID 

npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements! 
npm ERR! peerinvalid Peer [email protected] wants [email protected]^0.14.0 || ^15.0.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]~0.14.8 || ^15.0.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.14.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]^15.3.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>= 0.11.2 < 16.0.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=0.12.1 
npm ERR! peerinvalid Peer [email protected] wants [email protected]^0.14.0 || ^15.0.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]^0.14 || ^15.0.0-rc || ^15.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]* || ^0.14.0 
npm ERR! peerinvalid Peer [email protected] wants [email protected]^15.3.1 
npm ERR! peerinvalid Peer [email protected] wants [email protected]^0.14.3 || ^15.0.0 

npm ERR! Please include the following file with any support request: 
npm ERR! C:\Users\Utente\Desktop\sito\----\npm-debug.log 

任何想法? 謝謝

+0

[Npm peer dependency error]可能重複(http://stackoverflow.com/questions/37185017/npm-peer-dependency-error) –

+0

將你的npm升級到最新版本atleast> = 3('npm i -g npm'),然後再次運行'npm install'。 – Vikramaditya

回答

2

我遇到了同樣的問題。你需要通過做npm install -g npm來更新你的npm。我希望這可以工作。

+0

我整個早上都被卡住了!!!!!!該死的!!! – nikotromus