Hexo在PowerShell无法运行问题

   Hexo在cmd下运行没有问题,但是在power shell运行报错。

解决:

   以管理员身份在power shell运行如下,并选择y。

1
Set-ExecutionPolicy -ExecutionPolicy UNRESTRICTED

参考:link