npm install 报错问题 The operation was rejected by your operating system. 及设置设置始终以管理员身份运行cmd窗口

The operation was rejected by your operating system.
  It's possible that the file was already in use (by a text editor or antivirus),
  or that you lack permissions to access it.
 
  If you believe this might be a permissions issue, please double-check the
  permissions of the file and its containing directories, or try running
  the command again as root/Administrator.

已管理员身份进行运行cmd 在执行npm install 即可

点击cmd  ---- 右键 -------命令提示符------属性  -------快捷方式 -----高级  设置已管理员身份运行

原文地址:https://www.cnblogs.com/shijiu1919/p/13353805.html