解决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文件)

你可能感兴趣的:(解决npm ERR! Please try running this command again as root/Administrator. 问题)