我越來越無法安裝塔npm。 請讓我知道如何解決。未能安裝塔npm
bash-3.2$ npm install -g tower
npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/ltcmdr927/.nvm/versions/node/v5.9.1/bin/node" "/Users/ltcmdr927/.nvm/versions/node/v5.9.1/bin/npm" "install" "-g" "tower"
npm ERR! node v5.9.1
npm ERR! npm v3.7.3
npm ERR! No compatible version found: [email protected]~0.1.0
npm ERR! Valid install targets:
npm ERR! 0.1.0-pre
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/ltcmdr927/Workspaces/sandbox/npm-debug.log
我的環境是:
bash-3.2$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.4
BuildVersion: 15E65
修改:使用sudo,相同的結果:
bash-3.2$ sudo npm install -g tower
Password:
npm ERR! Darwin 15.4.0
npm ERR! argv "/Users/ltcmdr927/.nvm/versions/node/v5.9.1/bin/node" "/Users/ltcmdr927/.nvm/versions/node/v5.9.1/bin/npm" "install" "-g" "tower"
npm ERR! node v5.9.1
npm ERR! npm v3.7.3
npm ERR! No compatible version found: [email protected]~0.1.0
npm ERR! Valid install targets:
npm ERR! 0.1.0-pre
...
誰能幫助?
嘗試'sudo npm install -g tower' – Gintoki
thx但它與sudo的結果相同。 – ltcmdr927