npm / npm

This repository is moving to: https://github.com/npm/cli
http://npm.community
17.53k stars 3.02k forks source link

Search broken after update #4380

Closed berikv closed 10 years ago

berikv commented 10 years ago

After updating nodejs from 0.8.21 to 0.10.24 using:

    sudo npm cache clean -f
    sudo npm install -g n
    sudo n stable

The search functionality is broken:

    % npm search consolidate
    npm WARN Building the local index for the first time, please be patient
    npm http GET https://registry.npmjs.org/-/all
    npm http 503 https://registry.npmjs.org/-/all
    npm ERR! registry error parsing json
    npm http GET https://registry.npmjs.org/-/all
    npm http 400 https://registry.npmjs.org/-/all
    npm ERR! Error: illegal_database_name Name: 'error.html'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are      allowed. Must begin with a letter.: -/all
    npm ERR!     at RegClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:275:14)
    npm ERR!     at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:123:22)
    npm ERR!     at Request.EventEmitter.emit (events.js:98:17)
    npm ERR!     at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:893:14)
    npm ERR!     at Request.EventEmitter.emit (events.js:117:20)
    npm ERR!     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:844:12)
    npm ERR!     at IncomingMessage.EventEmitter.emit (events.js:117:20)
    npm ERR!     at _stream_readable.js:920:16
    npm ERR!     at process._tickCallback (node.js:415:13)
    npm ERR! If you need help, you may report this *entire* log,
    npm ERR! including the npm and node versions, at:
    npm ERR!     <http://github.com/isaacs/npm/issues>

    npm ERR! System Darwin 13.0.0
    npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "search" "consolidate"
    npm ERR! cwd /Users/berikv/Work/Ziggo-TV-APIs/Mock
    npm ERR! node -v v0.10.24
    npm ERR! npm -v 1.3.21
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     /Users/berikv/Work/Ziggo-TV-APIs/Mock/npm-debug.log
    npm ERR! not ok code 0
berikv commented 10 years ago

Seems to be a temporary server issue (HTTP 503).