【发布时间】:2018-07-02 16:39:09
【问题描述】:
我想在 GAE 标准环境下运行 ghost。 但我做不到。会发生什么?
server.js
const ghost = require('ghost');
const port = process.env.PORT || 8080;
ghost().then(function (ghostServer) {
ghostServer.rootApp.listen(port);
});
错误信息
INFO This request caused a new process to be started for your application and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application.
ERROR A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 204)
【问题讨论】:
标签: node.js google-app-engine ghost