Please edit your post and use the </>
button above the post input field to format your code or error message or wrap it in ```
("code fences") manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.
What does npm list -g depth=0
return?
I think the problem is the sudo
stuff.