-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
今天尝试在自己的服务端部署,遇到一个新的问题:
No "exports" main defined in /home/www/discuss_comment/node_modules/discuss/package.json
package.json :
{
"name": "discuss_comment",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"discuss": "1.2.6"
}
}index.js
const discuss = require('discuss')
// 选择以什么方式运行
discuss.server() // 服务器使用 (Server)
discuss.main() // 无服务器使用 (ServerLess)Metadata
Metadata
Assignees
Labels
No labels


