在vscode运行powershell出错
问题描述:
hexo : 无法加载文件 C:\Users\HP\AppData\Roaming\npm\hexo.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.c |
解决方案:
在默认情况下,我们是无法执行powershell脚本的, 需要更改执行策略。
Restricted //不允许任何脚本运行
win10下更改执行策略:



本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 erha's blog!