Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo d报错 #13

Open
rzhangpku opened this issue Apr 17, 2021 · 0 comments
Open

hexo d报错 #13

rzhangpku opened this issue Apr 17, 2021 · 0 comments

Comments

@rzhangpku
Copy link

感谢大佬解答,跪谢!
hexo d报错,报错信息如下:

(base) ➜  blog git:(master) ✗ sudo hexo d
Password:
INFO  Validating config
WARN  Deprecated config detected: "external_link" with a Boolean value is deprecated. See https://hexo.io/docs/configuration for more details.
INFO  Deploying: git
INFO  Clearing .deploy_git folder...
INFO  Copying files from public folder...
INFO  Copying files from extend dirs...
位于分支 master
无文件要提交,干净的工作区
[email protected]: Permission denied (publickey).
fatal: 无法读取远程仓库。

请确认您有正确的访问权限并且仓库存在。
FATAL {
  err: Error: Spawn failed
      at ChildProcess.<anonymous> (/Users/zhangrong/Documents/project/blog/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

然后我ssh [email protected]是能连上的

(base) ➜  blog git:(master) ✗ ssh [email protected]
PTY allocation request failed on channel 0
Hi rzhangpku! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant