解决npm ERR! Please try running this command again as root/Administrator. 问题

win10下,使用npm 安装插件时报npm ERR! Please try running this command again as root/Administrator的错误,

解决方案:需要删除npmrc文件。(C:Users{账户}下的.npmrc文件)

原文地址:https://www.cnblogs.com/superfeeling/p/15046350.html