原文:hexo运行报无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\hexo.ps1

如果运行hexo s 报以下错误 解决如下: Win 系统以管理员身份运行PowerShell 执行:get ExecutionPolicy,返回状态:Restricted,表示状态是禁止的, 然后要设置下 执行:set ExecutionPolicy RemoteSigned 开启 选择Y 注意:一定要以管理员的身份运行PowerShell,不是cmd窗口 ...

2021-02-26 15:52 0 329 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM