npm ERR! code E500


(Hariprasad) #1

C:\Users\potha>npm whoami --verbose
npm info it worked if it ends with ok
npm verb cli [ ‘C:\Program Files\nodejs\node.exe’,
npm verb cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
npm verb cli ‘whoami’,
npm verb cli ‘–verbose’ ]
npm info using npm@5.6.0
npm info using node@v8.11.4
npm verb config Skipping project config: C:\Users\bodholt/.npmrc. (matches userconfig)
npm verb request uri https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm verb request no auth needed
npm info attempt registry request try #1 at 10:46:55
npm verb request using bearer token for auth
npm verb request id 615a739b4f2bbf77
npm http request GET https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm http 500 https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm verb headers { server: ‘nginx/1.12.2’,
npm verb headers date: ‘Thu, 23 Aug 2018 17:46:56 GMT’,
npm verb headers ‘content-type’: ‘application/json’,
npm verb headers ‘content-length’: ‘2’,
npm verb headers connection: ‘close’,
npm verb headers ‘x-powered-by’: ‘Express’ }
npm info retry will retry, error on last attempt: Error: Registry returned 500 for GET on https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm info attempt registry request try #2 at 10:47:06
npm verb request using bearer token for auth
npm http request GET https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm http 500 https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm verb headers { server: ‘nginx/1.12.2’,
npm verb headers date: ‘Thu, 23 Aug 2018 17:47:06 GMT’,
npm verb headers ‘content-type’: ‘application/json’,
npm verb headers ‘content-length’: ‘2’,
npm verb headers connection: ‘close’,
npm verb headers ‘x-powered-by’: ‘Express’ }
npm info retry will retry, error on last attempt: Error: Registry returned 500 for GET on https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm info attempt registry request try #3 at 10:48:07
npm verb request using bearer token for auth
npm http request GET https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm http 500 https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm verb headers { server: ‘nginx/1.12.2’,
npm verb headers date: ‘Thu, 23 Aug 2018 17:48:07 GMT’,
npm verb headers ‘content-type’: ‘application/json’,
npm verb headers ‘content-length’: ‘2’,
npm verb headers connection: ‘close’,
npm verb headers ‘x-powered-by’: ‘Express’ }
npm verb stack Error: Registry returned 500 for GET on https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm verb stack at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:314:12)
npm verb stack at RegClient. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:292:14)
npm verb stack at Request._callback (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:216:14)
npm verb stack at Request.self.callback (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:186:22)
npm verb stack at emitTwo (events.js:126:13)
npm verb stack at Request.emit (events.js:214:7)
npm verb stack at Request. (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1163:10)
npm verb stack at emitOne (events.js:116:13)
npm verb stack at Request.emit (events.js:211:7)
npm verb stack at IncomingMessage. (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1085:12)
npm verb stack at Object.onceWrapper (events.js:313:30)
npm verb stack at emitNone (events.js:111:20)
npm verb stack at IncomingMessage.emit (events.js:208:7)
npm verb stack at endReadableNT (_stream_readable.js:1064:12)
npm verb stack at _combinedTickCallback (internal/process/next_tick.js:138:11)
npm verb stack at process._tickCallback (internal/process/next_tick.js:180:9)
npm verb statusCode 500
npm verb cwd C:\Users\potha
npm verb Windows_NT 10.0.14393
npm verb argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “whoami” “–verbose”
npm verb node v8.11.4
npm verb npm v5.6.0
npm ERR! code E500
npm ERR! Registry returned 500 for GET on https://registry.npmjs.itcs.hpecorp.net/-/whoami
npm verb exit [ 1, true ]

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\bodholt\AppData\Roaming\npm-cache_logs\2018-08-23T17_48_08_216Z-debug.log


(Markus Tacker) #2

It seems your custom registry https://registry.npmjs.itcs.hpecorp.net/ is not properly configured.


(system) #3

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.