使用 yarn create vite vue3-project --template vue时报错

yarn : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。

所在位置 行:1 字符: 1

使用管理员运行


然后输入命令:set-ExecutionPolicy RemoteSigned   选择 Y 即可。

你可能感兴趣的:(使用 yarn create vite vue3-project --template vue时报错)