【问题标题】:Hexo command hexo d stop after copying files to .deploy将文件复制到 .deploy 后,Hexo 命令 hexo d 停止
【发布时间】:2021-02-07 09:23:38
【问题描述】:

我正在尝试将我的 hexo 上传到 github 页面。

$ hexo g -d
INFO  Validating config 
Inferno is in development mode.
INFO  === Checking package dependencies ===
INFO  === Checking theme configurations ===
INFO  === Registering Hexo extensions ===
INFO  Start processing
INFO  Files loaded in 740 ms
INFO  0 files generated in 182 ms
INFO  Deploying: git
INFO  Clearing .deploy_git folder...
INFO  Copying files from public folder...

然后它会在这里停止而不报告任何错误。没有任何内容上传到我的 github 存储库。我可以在 .deploy_git 中看到最新的文档。我发现我可以在 .deploy_git 中使用“git push”来上传到我的仓库。

我很确定我在 _config.yml 中的每个冒号后添加了空格。而且链接绝对正确。有没有关于这个问题的想法?

【问题讨论】:

    标签: git github hexo


    【解决方案1】:

    运行:

    npm un hexo-deployer-git
    npm i hexojs/hexo-deployer-git
    

    https://github.com/hexojs/hexo/issues/4634

    测试有效

    【讨论】:

    • 谢谢。我今天再次尝试重新安装。即使我没有使用您的命令,它也可以工作。看来问题是由 hexo 或 github 或其他东西引起的.....
    猜你喜欢
    • 2023-03-19
    • 1970-01-01
    • 1970-01-01
    • 2018-06-04
    • 1970-01-01
    • 1970-01-01
    • 2023-04-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多