The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
npm Material UI not Installing-cd() never called! - please help
Not sure why this prompt keeps coming up in the terminal when I try to install Material UI
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