Unhandled rejection Error:

Unhandled rejection Error: EACCES: permission denied, mkdir ā€˜/Users/bhimashankarvibhute/.npm/_cacache/index-v5/66/8cā€™

There is an open issue with installing global packages using sudo leaving behind files with the wrong ownership.

The short version is run this to fix the ownership, then try your install again:

sudo chown -R $(whoami) ~/.npm

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.