remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information. fatal: unable to access 'https://github.com/xiaoyuge5201/xiaoyuge5201.github.io.git/': The requested URL returned error: 403 FATAL { err: Error: Spawn failed at ChildProcess.<anonymous> (/Users/xiaoyuge.cc/blogspace/mybolg/node_modules/hexo-util/lib/spawn.js:51:21) at ChildProcess.emit (events.js:315:20) at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) { code: 128 } } Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html xiaoyuge@xiaoyugedeMacBook-Pro mybolg % hexo clean
####解决方式一:
1 2 3 4 5 6 7 8 9 10 11
##进入站点根目录 cd cd /Users/xiaoyuge.cc/blogspace/mybolg ##删除git提交内容文件夹 rm -rf .deploy_git/ ##执行 git config --global core.autocrlf false ##最后 hexo clean && hexo g && hexo d