hexo修改了主题 在本地运行没问题 hexo d 出现问题

发布于 2022-09-02 01:07:07 字数 2767 浏览 11 评论 0

FATAL TypeError: Cannot read property 'split' of null

at parseRepo (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/lib/parse_config.js:5:19)
at module.exports (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/lib/parse_config.js:42:17)
at /Users/chenkuntao/hexo/node_modules/hexo-deployer-git/lib/deployer.js:87:12
at tryCatcher (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/util.js:11:23)
at Promise._settlePromiseFromHandler (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:489:31)
at Promise._settlePromise (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:546:18)
at Promise._settlePromise0 (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:591:10)
at Promise._settlePromises (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:674:18)
at Promise._fulfill (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:615:18)
at Promise._resolveCallback (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:416:57)
at ReductionPromiseArray._resolve (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/reduce.js:51:19)
at Promise.completed [as _fulfillmentHandler0] (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/reduce.js:112:15)
at Promise._settlePromise (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:543:21)
at Promise._settlePromise0 (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:591:10)
at Promise._settlePromises (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/promise.js:674:18)
at Async._drainQueue (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/async.js:125:16)
at Async._drainQueues (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/async.js:135:10)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/chenkuntao/hexo/node_modules/hexo-deployer-git/node_modules/hexo-fs/node_modules/bluebird/js/release/async.js:16:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)`请输入代码`

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

小兔几 2022-09-09 01:07:07

检查一下你的部署配置,如果没有问题就更新一下 hexo-deployer-git

唱一曲作罢 2022-09-09 01:07:07

需要安装一个npm install hexo-deployer-git --save。
可以参考我的博客http://www.chengxinsong.cn

很酷又爱笑 2022-09-09 01:07:07

基本就2步:1、安装hexo-deployer-git 2、配置站点_config.yaml配置 排查下 我最近也在使用hexo有问题可以随时沟通 我的博客

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文