Comments (8)
是否遗漏了安装步骤?
from twikoo.
是否遗漏了安装步骤?
匿名登录开了,腾讯云 CloudBase 后台也显示了有新用户注册。
网站域名「qingxu.live」也有添加到安全域名里面
from twikoo.
@QingxuMo
看起来不是 Twikoo 的云函数的报错,更像是腾讯云环境的报错,我无法重现这个问题。
能否登录腾讯云-云开发-云函数-comment-get-日志,看看调用日志?
from twikoo.
@QingxuMo
看起来不是 Twikoo 的云函数的报错,更像是腾讯云环境的报错,我无法重现这个问题。
能否登录腾讯云-云开发-云函数-comment-get-日志,看看调用日志?
START RequestId: 078b4464-191b-11eb-95a9-525400979946
Event RequestId: 078b4464-191b-11eb-95a9-525400979946
ERROR RequestId:078b4464-191b-11eb-95a9-525400979946 Result:{"errorCode":-1,"errorMessage":"Error: EACCES: permission denied, open '/var/user/index.js'\n at Object.openSync (fs.js:438:3)\n at Object.readFileSync (fs.js:343:35)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:711:20)\n at Module.load (internal/modules/cjs/loader.js:600:32)\n at tryModuleLoad (internal/modules/cjs/loader.js:539:12)\n at Function.Module._load (internal/modules/cjs/loader.js:531:3)\n at Module.require (internal/modules/cjs/loader.js:637:17)\n at require (internal/modules/cjs/helpers.js:22:18)\n at Object.module.exports.load (/var/runtime/node10/UserFunction.js:27:19)\n at Runtime.handleOnce (/var/runtime/node10/Runtime.engine.js:95:38)"}
END RequestId: 078b4464-191b-11eb-95a9-525400979946
Report RequestId: 078b4464-191b-11eb-95a9-525400979946 Duration:0ms Memory:128MB MemUsage:0.000000MB
from twikoo.
@QingxuMo
你是第一个遇到这个问题的人,这不是Twikoo后端代码的报错,我无法确定是哪里的问题,建议在腾讯云发工单问一下。
我的建议是换一个操作系统或电脑重新部署一下云函数试试,不确定是否有效。
from twikoo.
之前是在手机上部署的,刚刚换 Linux 环境试了一下,comment-submit 依然报错,其他的正常,日志如下:
ERROR RequestId:77838085-19a2-11eb-a9c8-525400be5245 Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Error: [ResourceNotFound] Db or Table not exist. Please check your request, but if the problem cannot be solved, contact us.\n at Object.exports.E (/var/user/node_modules/@cloudbase/node-sdk/lib/utils/utils.js:44:12)\n at processReturn (/var/user/node_modules/@cloudbase/node-sdk/lib/utils/utils.js:91:19)\n at Object.exports.default (/var/user/node_modules/@cloudbase/node-sdk/lib/utils/httpRequest.js:353:20)\n at process._tickCallback (internal/process/next_tick.js:68:7)"}
from twikoo.
@QingxuMo
这是个已知的bug,手动到云开发 - 数据库,新建一个集合,名字叫comment
,其他选项默认,就可以了
下一个版本,我会修复该问题
from twikoo.
已解决问题,感谢!
希望 Twikoo 能够继续完善其他功能,感觉这个是目前审查地区最理想的评论系统解决方案了😂
from twikoo.
Related Issues (20)
- 使用Resend,邮件通知无法发送,测试邮件能发送 HOT 4
- vercel部署,前端版本如何更新? HOT 2
- 开启展示UA后,后台报错
- 关于自定义图床部分 HOT 1
- 在vercel部署到notionnext后页面上没显示设置按钮 HOT 2
- 后台提示的版本是最新版还是当前版本? HOT 2
- 如何解决表情框被自动截断的问题? HOT 6
- 获取ip错误 HOT 5
- BLOCKED_WORDS 是否能支持URL? HOT 1
- A CORS cross-domain error occurred in Hexo + Fluid + Zeabur HOT 4
- 腾讯内容安全中,所有的表情都被识别为广告 HOT 3
- 飞书企业邮箱 535 error HOT 1
- Twikoo评论失败:0 HOT 4
- 希望增加验证码验证错误时的处理
- 对于Microsoft 365邮件发送时遇到的问题 HOT 3
- HuggingFace部署 Factory rebuild 升级提示 错误信息: MongoServerError: bad auth : authentication failed HOT 1
- 希望支持:leancloud HOT 1
- 请问是否能支持一键修改博主邮箱? HOT 2
- 版本更新问题 HOT 2
- 有没有可能增加取消订阅的功能 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twikoo.