egg 一个简洁实例 启动不了
发布于 6 天前 作者 spitWind 246 次浏览 来自 问答
const Application = require('egg').Application;
const app = new Application({ framework: '/home/xxx/vhost/bizeng-server-egg/node_modules/egg', baseDir: '/home/xxx/vhost/bizeng-server-egg/', workers: 1, plugins: null, https: false, isDebug: true, clusterPort: 39257, port: 7001 })
const server = require('http').createServer(app.callback());
app.emit('server', server);
server.emit('listening');

[egg:core:ready_timeout] 谁知道怎么弄得…

回到顶部