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

使用Gitalk但无法评论,并提示"Error: Not Found." #142

Closed
4 tasks done
HYSWZW opened this issue Dec 19, 2020 · 7 comments
Closed
4 tasks done

使用Gitalk但无法评论,并提示"Error: Not Found." #142

HYSWZW opened this issue Dec 19, 2020 · 7 comments
Labels
🍰 Usage problem Some usage problems

Comments

@HYSWZW
Copy link

HYSWZW commented Dec 19, 2020

我想创建一个新的 issue

  • 是的,我已经阅读了 常见问题
  • 是的,我搜索并阅读了 Issues 列表(包括关闭的),但是没有帮助到我。
  • 是的,我是第一次使用 Stun 主题。
  • 是的,我之前用过 Stun 主题,并且可以正常运行。但是当我启用Gitalk开启评论后,无法进行评论,页面一直显示"Error: Not Found"。
  • [] 是的,我使用了 平滑升级 的特性,并且阅读了其文档。

环境信息

Stun 版本: 1.7.0

**Hexo 版本:4.2.0

平台信息: win10 专业版

浏览器信息:

Node.js 和 NPM 版本:
PS D:\hexo> node -v
v12.16.1
PS D:\hexo> npm -v
6.13.4

NPM 依赖信息:
hexo-site@0.0.0 D:\hexo
+-- hexo@4.2.0
+-- hexo-deployer-git@2.1.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-category@1.0.0
+-- hexo-generator-index@1.0.0
+-- hexo-generator-search@2.4.0
+-- hexo-generator-tag@1.0.0
+-- hexo-render-pug@2.1.4
+-- hexo-renderer-ejs@1.0.0
+-- hexo-renderer-marked@2.0.0
+-- hexo-renderer-stylus@1.1.0
+-- hexo-server@1.0.0
`-- hexo-wordcount@6.0.1

Hexo 配置信息:

查看代码 ...

Stun 配置信息:

查看代码 ...
gitalk:
  enable: true
  # Github username.
  owner: HYSWZW
  # Github repository.
  repo: https://github.com/HYSWZW/Comment
  # Github Application Client ID.
  client_id: b3620a1***1cee97eb
  # Github Application Client Secret.
  client_secret: 77aa4a3c2f297df767***9775d164d300b0cfb
  # GitHub repo owner and collaborators, only these guys can initialize github issues.
  admin: HYSWZW
  # Facebook-like distraction free mode.
  distraction_free_mode: true
  # Gitalk's display language depends on user's browser or system environment.
  # If you want everyone visiting your site to see a uniform language, you can set a force language value.
  # Optional values: en | zh-CN | es-ES | fr | ru | zh-TW
  language: zh-CN

预期行为

实际行为

重现步骤

  1. xxx
  2. xxx
  3. xxx

其他信息

图片


@liuyib
Copy link
Owner

liuyib commented Dec 19, 2020 via email

@liuyib
Copy link
Owner

liuyib commented Dec 19, 2020 via email

@liuyib
Copy link
Owner

liuyib commented Dec 20, 2020

@HYSWZW 问题解决了吗?如果解决了麻烦把 Issue 关了吧,因为我不确定你是否解决了问题。

@liuyib liuyib added the 🍰 Usage problem Some usage problems label Dec 20, 2020
@HYSWZW
Copy link
Author

HYSWZW commented Dec 20, 2020 via email

@HYSWZW HYSWZW closed this as completed Dec 20, 2020
@HYSWZW
Copy link
Author

HYSWZW commented Dec 20, 2020

Gitalk 需要先初始化

@liuyib
Copy link
Owner

liuyib commented Dec 20, 2020

对滴 👌

@HYSWZW
Copy link
Author

HYSWZW commented Dec 20, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 Usage problem Some usage problems
Projects
None yet
Development

No branches or pull requests

2 participants