hexo修改了主题 在本地运行没问题 hexo d 出现问题
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
检查一下你的部署配置,如果没有问题就更新一下
hexo-deployer-git
库需要安装一个npm install hexo-deployer-git --save。
可以参考我的博客http://www.chengxinsong.cn
基本就2步:1、安装hexo-deployer-git 2、配置站点_config.yaml配置 排查下 我最近也在使用hexo有问题可以随时沟通 我的博客