DEV Community

Nitesh Sawant
Nitesh Sawant

Posted on

Is NPM registry not working ?

Hello Everyone.

Today while I was workig on a Node JS project suddenly I was not able to install any packages using npm command.

I am getting below error whenever I am trying to install any package

npm install error

So when I visited NPM regitry website I got following message.

npm registry website

Is anyone else getting the same error when trying to install a node package ?.

Top comments (4)

Collapse
 
nektro profile image
Meghan (she/her)

I am not experiencing this issue and receive this when going to registry.npmjs.com

{
  "db_name":"registry",
  "doc_count":985748,
  "doc_del_count":342,
  "update_seq":13021688,
  "purge_seq":0,
  "compact_running":false,
  "disk_size":9344962695,
  "data_size":7868290878,
  "instance_start_time":"1530733966913048",
  "disk_format_version":6,
  "committed_update_seq":13021688
}
Collapse
 
defman profile image
Sergey Kislyakov

Why do you get "No Secure" badge for registry.npmjs.org? I think you're being MITM'ed.

Collapse
 
ns23 profile image
Nitesh Sawant

I asked my friend to check if npm command was working on his laptop. Even he was getting the same error.

Anyways that issue is solved now.
NPM resolved

I temporarily fixed the issue yesterday by changing the npm registry to
npm config set registry https://registry.node-modules.io/

Collapse
 
ben profile image
Ben Halpern

This definitely seems like a thread worth pulling on.