'tar@https://skimdb.npmjs.com/registry/tar/-/tar-6.1.10.tgz' is not in npm registry

I cannot install Ionic/CLI using npm as it gives error stating:

npm ERR! code E404
npm ERR! 404 Object Not Found - GET https://skimdb.npmjs.com/registry/tar/-/tar-6.1.10.tgz - not_found
npm ERR! 404
npm ERR! 404 ‘tar@https://skimdb.npmjs.com/registry/tar/-/tar-6.1.10.tgz’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Can anyone help out in this.

looks like skimdb is a mirror of npm and the package might not be published there yet, not sure if you are behind a firewall or what can cause that your npm installation searches in skimdb instead of on npm registry.

try running npm config set registry http://registry.npmjs.org

1 Like

Thank you for the suggestion. However, I managed to solve the problem by uninstalling the existing Nodejs which was not an LTS version hence was giving me errors while installation. And installed LTS version of Nodejs and It worked like a charm.