在Windows 8中安装npm时遇到了麻烦。 步骤再现:
npm ERR! registry error parsing json
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe"
"C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js"
"install" "npm" "-g"
npm ERR! <HTML>
npm ERR! <Head>
npm ERR! <TITLE>404 Not Found
npm ERR! </TITLE>
npm ERR! </HEAD>
npm ERR! <BODY bgcolor="#FFFFFF"><h1>
npm ERR! 404 Not Found
npm ERR! </h1>
npm ERR! </BODY>