npm Community Forum (Archive)

The npm community forum has been discontinued.

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

npm ERR! cb() never called! error while installing npm install -g nativescript

The following error occured while installing nativescript through npm.
Has anyone faced the same issue?
My node --version is
and npm --version is
. This issue is very critical and I could not proceed further. Please help

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users<User>\AppData\Roaming\npm-cache_logs\2018-08-14T04_40_52_599Z-debug.log

This is a duplicate of [crash] npm ERR! cb() never called!