vscode 终端不能使用yarn ,npm,如何解决

WPing丶

2022-07-20 09:35

1、在c盘中输入以下路径,找到powerShell

      C:\Windows\System32\WindowsPowerShell\v1.0

2、右键powershell.exe文件,点击以管理员身份运行,设置一下权限

3、执行set-ExecutionPolicy RemoteSigned 回车,然后输入y

 4、重启vscode就可以在终端使用yarn , 或者npm了

[转载]文章出处:https://blog.csdn.net/Sharon598/article/details/125854946

0 条评论

评论:

发送
0.089653s