How can I update nmp in fedora 28. I get this error:
Thanks for the help
I do not know if it will work with Fedora but I have always updated with the update option.
npm update
Or you can also use:
npm i -g npm
I hope it helps you