【发布时间】:2014-05-13 16:54:17
【问题描述】:
我的应用程序在本地和生产环境中都不可爬取。
当我转到http://localhost:3000/?_escaped_fragment_=时,我可以看到出现以下错误(幻影在15秒后被杀死):
spiderable: phantomjs failed: { [Error: Command failed: ] killed: true, code: null, signal: 'SIGTERM' }
似乎很多人都遇到了这个问题:
- https://github.com/gadicc/meteor-phantomjs/issues/1
- https://groups.google.com/forum/#!msg/meteor-talk/Lnm9HFs4MgM/YKDMR80fVecJ
- https://groups.google.com/forum/#!topic/meteor-talk/7ZbidddRGo4
问题是我没有使用 observatory 或 select2 并且我的所有出版物都返回一个光标。据我说,问题来自于缩小。我刚刚读到in this thread 有人成功显示“SyntaxError: Parse error”。我如何才能更多地了解 Phantom 出了什么问题以及哪个文件导致了问题?
【问题讨论】: