npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

http fetch GET 500

When I’m trying to install any things with npm i got “http fetch GET 500
and it’s weird because the other coworker it’s work for them and in my computer it’s not work
is the problem from my computer or the internet or npm?

I had this error for more then one week

This full error:

0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’,
1 verbose cli ‘/usr/bin/npm’,
1 verbose cli ‘install’,
1 verbose cli ‘-g’,
1 verbose cli ‘@angular/cli’ ]
2 info using npm@6.4.1
3 info using node@v8.12.0
4 verbose npm-session 98d7ab073bd7919e
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 500 70899ms attempt #3
8 silly fetchPackageMetaData error for @angular/cli@latest 500 Internal Server Error: @angular/cli@latest
9 timing stage:rollbackFailedOptional Completed in 2ms
10 timing stage:runTopLevelLifecycles Completed in 70989ms
11 verbose stack Error: 500 Internal Server Error: @angular/cli@latest
11 verbose stack at fetch.then.res (/usr/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js:42:19)
11 verbose stack at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
11 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
11 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
11 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
11 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18)
11 verbose stack at Async._drainQueue (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16)
11 verbose stack at Async._drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10)
11 verbose stack at Immediate.Async.drainQueues (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
11 verbose stack at runCallback (timers.js:810:20)
11 verbose stack at tryOnImmediate (timers.js:768:5)
11 verbose stack at processImmediate [as _immediateCallback] (timers.js:745:5)
12 verbose cwd /home/snapgroup3
13 verbose Linux 4.15.0-36-generic
14 verbose argv “/usr/bin/node” “/usr/bin/npm” “install” “-g” “@angular/cli”
15 verbose node v8.12.0
16 verbose npm v6.4.1
17 error code E500
18 error 500 Internal Server Error: @angular/cli@latest
19 verbose exit [ 1, true ]