错误提示: iisnode encountered an error when processing the request.
HRESULT: 0x2 HTTP status: 500 HTTP reason: Internal Server Error You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is ‘true’.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
path.exists is now called fs.exists
.
环境:NodeJS v0.10.26 IIS7.0安装了IISNode v0.2.7
解决了,在app.js 文件中 app.listen(config.port);修改成 app.listen(process.env.PORT);