我正在運行一個簡單的快速應用程序,它從S3拉動靜態文件,並在本地運行良好,但在Heroku上它不斷崩潰,沒有更多信息。應用程序在本地工作,在Heroku上崩潰 - Node.JS
有沒有一種方法,我可以找出是什麼導致權限錯誤?
從部署Heroku的日誌崩潰:
2011-12-26T22:41:14+00:00 heroku[slugc]: Slug compilation started
2011-12-26T22:41:19+00:00 heroku[api]: Deploy 20d0578 by [email protected]
2011-12-26T22:41:19+00:00 heroku[api]: Release v20 created by [email protected]
2011-12-26T22:41:20+00:00 heroku[web.1]: State changed from crashed to created
2011-12-26T22:41:20+00:00 heroku[web.1]: State changed from created to starting
2011-12-26T22:41:21+00:00 heroku[slugc]: Slug compilation finished
2011-12-26T22:41:22+00:00 heroku[web.1]: Starting process with command `node server.js`
2011-12-26T22:41:23+00:00 app[web.1]: info - socket.io started
2011-12-26T22:41:23+00:00 app[web.1]: warn - error raised: Error: EACCES, Permission denied
2011-12-26T22:41:24+00:00 heroku[web.1]: State changed from starting to crashed
2011-12-26T22:41:25+00:00 heroku[web.1]: Process exited
你可以發佈部分代碼嗎?你是否試圖在heroku上保存文件? – Kenan 2012-01-11 04:34:51