Npm ERR cb() never called .npm WARN registry Using stale data from http://registry.npmjs.org/ because the host is inaccessible -- are you offline?

  1. Check if you have any proxy config

    npm config list
    
  2. Delete them by

    npm config delete proxy
    npm config delete http-proxy
    npm config delete https-proxy
    
  3. Now try

    npm install

Comments

Popular posts from this blog

Easy Ui Jquery easyui-textbox change onChange event

Provision AWS EC2 Instance and RDS with Terraform, and Deploy Spring Boot App to EC2 Instance via GitHub Action Pipeline

npm install gets stuck at fetchMetadata