Solved cb() never called!

npm ERR! cb() never called!

  • First of all, verify your node.js version using your terminal with this simple command
    node -v
  • Clear your npm cache
    sudo npm cache clean -f
  • Install the latest version of the Node helper
    npm install -g n
  • Tell the helper (n) to install the latest stable version of Node
    sudo n stable
  • After previous commands finish you will be up-to-date. Let’s run our install again
    npm install