工具-cmd命令行默认以管理员模式运行
发布时间:2024年01月04日
不知道你们电脑是不是遇到过,直接打开命令行,如果执行一些npm? nodejs的命令经常会报错:
就必须使用管理员模式才可以。很麻烦,下面是如果设置不管在哪里打开都是管理员模式的方式:

首先找到npm在哪里:


直接右键-属性-高级-勾选“以管理员身份运行”。



完成
文章来源:https://blog.csdn.net/qq_36178165/article/details/135393043
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!