不幸http://registry.npmjs.org/npm是跌導致NPM註冊表替代http://registry.npmjs.org/npm
$ npm install mime
npm ERR! Error: ucs {bad_utf8_character_code}: mime
npm ERR! at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/request.js:177:16)
npm ERR! at IncomingMessage.emit (events.js:81:20)
npm ERR! at HTTPParser.onMessageComplete (http.js:133:23)
npm ERR! at Socket.ondata (http.js:1228:22)
npm ERR! at Socket._onReadable (net.js:684:27)
npm ERR! at IOWatcher.onReadable [as callback] (net.js:177:10)
npm ERR! Report this *entire* log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! System Linux 2.6.38-8-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "mime"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/rsi/projects/activiti.enricher/npm-debug.log
npm not ok
是有一個替代的公共庫,或任何其他方式繼續工作?也許使用git克隆的依賴關係?
Ralf
聽起來很有趣,也許下一次它的最多我可以設置ap普通鏡子。這樣做時你有沒有遵循任何步驟或指導? – 2012-01-05 17:12:04
我沒有設置它,所以我不知道。 – 2012-01-06 12:11:34
您可以使用[Artifactory](http://www.jfrog.com/confluence/display/RTF/Npm+Repositories) - npm regisrty的解壓縮簡單代理 – JBaruch 2014-06-01 09:42:56