To troubleshoot please check:

  • Are you able to see the package on npmjs.com?  https://www.npmjs.com/package/@haiku/cli
  • Do you sit behind a corporate firewall, or are you in a public setting like a coffee shop?  If you aren't able to install other packages from npmjs.com, it might be a firewall or proxy issue.
  • Are you running npm install -g @haiku/cli from a directory that has an .npmrc file? Try running the command from a different directory.
  • Try running npm cache clear -f 
  • Has the default registry been adjusted? Try npm set registry https://registry.npmjs.org/ to reset it.
  • Finally, try a full reset of NPM and deleting the root .npmrc file.
Did this answer your question?