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窗口的主要内容,如果未能解决你的问题,请参考以下文章

若依后台管理系统,前后端分离项目,输入npm install 报错node-sass@4.13.1 postinstall:`node scripts/build.js` Failed at the

输入npm install 报错node-sass@4.13.0 postinstall:`node scripts/build.js` Failed at the node-sass@4.13.0(

npm install 和npm start各种报错无法解决的问题

vue项目,npm install后,npm run dev报错问题

npm install 报错

npm install 报错(npm ERR! errno 1)