-
Notifications
You must be signed in to change notification settings - Fork 14
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
服务器部署时执行'node index.js'运行失败 #25
Comments
Node.js: v20.9.0 已配置MySQL数据库 |
你能提供一下你的index.js和package.json的内容吗? |
index.js的内容是这样的吗? const discuss = require('discuss')
// 选择以什么方式运行
discuss.server() // 服务器使用 (Server) |
是的: const discuss = require('discuss') // 选择以什么方式运行 discuss.main() // 无服务器使用 (ServerLess) |
不需要 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TypeError: Cannot read properties of undefined (reading 'setHeader')
The text was updated successfully, but these errors were encountered: