- 使用tyarn下载依赖时出现:
无法加载文件 D:\environment_software\nvm_node\tyarn.ps1,因为在此系统上禁止运行脚本。 - 表示window不能执行ps1文件,可以通过设置命令运行执行ps1文件(PowerShell)。
- 输入命令查看配置:
get-ExecutionPolicy - 设置属性:
set-ExecutionPolicy RemoteSigned - 整体的运行命令

- 设置的属性可以看一下网站:https://learn.microsoft.com/zh-cn/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4

















![vue3 动态style[‘background‘] 图片url 打包后图片不显示没有打包到目录的为你](https://i-blog.csdnimg.cn/direct/3f3d88aeeaf2471fbd06cc16057dd919.png)

