RainBownT 2023-01-19 15:19 采纳率: 100%
浏览 29
已结题

hexo init失败

用hexo搭建博客时遇到的问题,输入hexo.init

19246@wendy MINGW64 /d/blog
$ hexo init
INFO  Cloning hexo-starter https://github.com/hexojs/hexo-starter.git
D:/blog/.git: Permission denied
WARN  git clone failed. Copying data instead
FATAL {
  err: [Error: EPERM: operation not permitted, mkdir 'D:\'] {
    errno: -4048,
    code: 'EPERM',
    syscall: 'mkdir',
    path: 'D:\\'
  }
} Something's wrong. Maybe you can find the solution here: %s http://hexo.io/docs/troubleshooting.html


有在CSDN搜索过,可是方法尝试了还是解决不了

  • 写回答

1条回答 默认 最新

  • 元气少女缘结神 2023-01-19 15:36
    关注

    从报错来看是权限问题,用最高权限去做

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 1月27日
  • 已采纳回答 1月19日
  • 创建了问题 1月19日