vue init webpack 系统上禁止运行脚本 135170

vue init webpack my-project 时出现 

系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_E
xecution_Policies。

解决方式:管理员打开powershell 运行  set-ExecutionPolicy RemoteSigned 选择Y即可

posted @ 2021-03-05 09:39  吴限好  阅读(237)  评论(0)    收藏  举报