流星可怜的错误

时间:2014-09-10 07:51:16

标签: meteor phantomjs

我的phantomjs / spiderable包仍在生产失败。

spiderable: phantomjs failed: Error: Command failed:
    at ChildProcess.exithandler (child_process.js:648:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
spiderable: phantomjs failed: Error: Command failed:
    at ChildProcess.exithandler (child_process.js:648:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
spiderable: phantomjs failed: Error: Command failed:
    at ChildProcess.exithandler (child_process.js:648:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
spiderable: phantomjs failed: Error: Command failed:
    at ChildProcess.exithandler (child_process.js:648:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
spiderable: phantomjs failed: Error: Command failed:
    at ChildProcess.exithandler (child_process.js:648:15)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)

/mnt/data/2/programs/server/packages/meteorhacks:kadira.js:2569
    throw err;
          ^
TypeError: Cannot read property 'stack' of null
    at Object.Meteor._debug (packages/meteorhacks:kadira/lib/hijack/error.js:53)
    at packages/spiderable/spiderable_server.js:101
    at ChildProcess.exithandler (child_process.js:646:7)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:756:16)
    at Process.ChildProcess._handle.onexit (child_process.js:823:5)
[2014-09-10T07:44:15.144Z] Application CRASH detected. Exit code 7.

如果我在网站上找到通常的网址,我就不会看到错误,但是如果我拖尾日志,这种情况经常发生。关于如何调试并想出来的任何想法?

2 个答案:

答案 0 :(得分:1)

Spiderable因其非常不可靠而闻名。如果可以,我建议使用Prerender:http://prerender.io

答案 1 :(得分:0)

Spirerable包仅作为phantomjs的包装器。阅读说明:

  

如果使用meteor bundle部署应用程序,则必须在$ PATH中的某处安装phantomjs(http://phantomjs.org)。如果你使用meteor部署,这已经得到了解决。

因此,您必须自己在服务器上安装phantomjs:

meteor add dfischer:phantomjs

这些套餐可能会有所帮助:

dfischer:phantomjs

meteor add gadicohen:phantomjs

gadicohen:phantomjs

Do While