蓝哆啦呀

关注

使用npm install报错-4048 operation not permitted解决

蓝哆啦呀

关注

阅读 146

2022-02-17

使用npm install报错-4048 operation not permitted解决

1、给终端授管理员权限

你打开的不是管理员终端命令或者是没有管理员权限

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述

2、vscode打开管理员终端命令

1.执行:get-ExecutionPolicy,回复Restricted,表示状态是禁止的

2.执行:

set-ExecutionPolicy

RemoteSigned

3.选择Y

4.在此执行

相关推荐

闲云困兽

npm install报错errno -4048(operation not permitted)解决方法

闲云困兽 40 0 0

一叶轻舟okok

npm install报错:errno -4048

一叶轻舟okok 140 0 0

DYBOY

运行 npm install 报错-4048

DYBOY 22 0 0

向上的萝卜白菜

解决 npm intasll 安装报错 Error: EPERM: operation not permitted

向上的萝卜白菜 25 0 0

水沐由之

npm install 安装一直报错Error EPERM operation not permitted, mkdir

水沐由之 56 0 0

云竹文斋

npm install 报错解决

云竹文斋 79 0 0

玩物励志老乐

npm install报错-The operation was rejected by your operating system

玩物励志老乐 71 0 0

alonwang

NPM报错 Error: EPERM: operation not permitted, unlink......解决办法和清除缓存。

alonwang 85 0 0

王远洋

npm install报错解决记录

王远洋 13 0 0

GhostInMatrix

npm install 报错

GhostInMatrix 198 0 0

精彩评论(0)

0 0 举报