南与 --:--
avatar

南与

Hexo在PowerShell无法运行问题

Hexo在PowerShell无法运行问题

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

解决:

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

Set-ExecutionPolicy -ExecutionPolicy UNRESTRICTED

参考:link

hexo powershell 问题解决