Open spencer-luo opened 3 months ago
Node.js: v20.9.0 Operation: MacOS 14.5
已配置MySQL数据库
你能提供一下你的index.js和package.json的内容吗?
index.js的内容是这样的吗?
const discuss = require('discuss')
// 选择以什么方式运行
discuss.server() // 服务器使用 (Server)
是的:
const discuss = require('discuss')
// 选择以什么方式运行 discuss.server() // 服务器使用 (Server)
discuss.main() // 无服务器使用 (ServerLess)
不需要 discuss.main()
TypeError: Cannot read properties of undefined (reading 'setHeader')