This is a Chat by anteriovieira. Component details
Anderson Vanhron
Junior Developer
Can be verified on any platform using docker
My profile
Your error message says permission denied, npm global installs must be given root privileges.
My profile
Command was run with root privileges. I'm sure about that.
I've update the description so it's more obviously now
FYI https://askubuntu.com/a/700266/510172
Check the line above (it ends with a # so, I'm running it as root )
# npm install -g @vue/devtools
My profile
Any updates on this issue? I'm getting the same error when trying to install devtools. Thanks
My profile
Thanks for your message David. I thought I'm alone with this issue. Please, ? the issue to support it :)
My profile
Are you using sudo?
Run this command sudo chown -R `whoami` /Users/{{your_user_profile}}/.npm-global/ then install the package globally without using sudo
My profile
It seems like you are from Mac OS world. There is no /Users/ folder on linux ?
I have no issue with any other packages installed with root permission globally.
My profile
yes, I have a mac. I never had issues with root permission as well, but this helped me to solve the problem
My profile
I get the same error on Arch Linux (also with sudo)
I also have this issue, Here is what I was doing until now: #1076
even i am facing
My profile