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

Posted shijiu1919

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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  ---- 右键 -------命令提示符------属性  -------快捷方式 -----高级  设置已管理员身份运行

 

以上是关于npm install 报错问题 The operation was rejected by your operating system. 及设置设置始终以管理员身份运行cmd窗口的主要内容,如果未能解决你的问题,请参考以下文章

mysql安装报错Install/Remove of the Service Denied!

错误记录手机中调试程序报错 ( The application could not be installed: INSTALL_FAILED_TEST_ONLY )

错误记录手机中调试程序报错 ( The application could not be installed: INSTALL_FAILED_TEST_ONLY )

pip install报错,“Consider using the `--user` option or check the permissions”

执行 mysqld --install 报错:The service already exists

webpacke install vue application 报错 Failed at the phantomjs-prebuilt@2.1.14 install script