安装好yarn ,在项目中运行yarn 命令,提示禁止运行脚本。 以管理员身份运行Windows PowerSheell,输入set-executionpolicy remotesigned回车,选择一项,修改权限。