报错:npm\gulp.ps1,因为在此系统上禁止运行脚本,有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_E xecution_Policies。

1:使用管理员身份运行 PowerShell,
2:输入 set-executionpolicy remotesigned
得到

 

 3:输入Y即可;

posted @ 2020-03-30 10:24  衣兄先生  阅读(2218)  评论(0编辑  收藏  举报