我的NPM不工作

我的NPM根本不工作。 不仅当我试图安装使用package.json文件,而且当我只是试图安装节点模块。 以下是terminal中出现的内容:

npm http GET https://registry.npmjs.org/express/3.3.3 npm http GET https://registry.npmjs.org/express-hbs npm http GET https://registry.npmjs.org/ember npm http GET https://registry.npmjs.org/mongojs npm http GET https://registry.npmjs.org/everyauth npm http GET https://registry.npmjs.org/path npm http GET https://registry.npmjs.org/charlotte npm http GET https://registry.npmjs.org/socket.io npm http GET https://registry.npmjs.org/socket.io-client npm ERR! Error: failed to fetch from registry: mongojs npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 npm ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9) npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18) npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) npm ERR! at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58) npm ERR! at Request.emit (events.js:88:20) npm ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:12) npm ERR! at ClientRequest.emit (events.js:67:17) npm ERR! at HTTPParser.onIncoming (http.js:1261:11) npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31) npm ERR! You may report this log at: npm ERR! <http://bugs.debian.org/npm> npm ERR! or use npm ERR! reportbug --attach /home/christian/nave/myspendingNode/npm-debug.log npm npm ERR! npm ERR! System Linux 3.8.0-29-generic npm ERR! command "node" "/usr/bin/npm" "install" npm ERR! cwd /home/christian/nave/myspendingNode npm ERR! node -v v0.6.12 npm ERR! npm -v 1.1.4 npm ERR! message failed to fetch from registry: mongojs npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/christian/nave/myspendingNode/npm-debug.log npm not ok 

任何人都可以指出我的方向来解决这个问题吗?

  • 如何通过JavaScript下载PDF文件?
  • Hapi.js中的“挂载”(运行)遗留http处理程序
  • 用户注销:将GETredirect到POST(Node / Express)
  • NodeJS HTTP请求不按顺序执行
  • Node.js发送带有base64解码字符的POST请求时,出现无效字符错误
  • 用express来build立一个基本的服务器
  • 节点JS匿名函数和callback
  • Angular $ http POST从ExpressJS中获得null
  • npm config set registry http://registry.npmjs.org/

    这基本上将URL更改为http而不是默认的https