2014-09-10 2 views
7

Il mio pacchetto phantomjs/spiderable continua a non funzionare correttamente.Errori impoveriti di meteoriti

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. 

Se vado a un URL di consueto sul sito non vedo l'errore, ma se ho la coda i log questo accade abbastanza di frequente. Qualche idea su come eseguire il debug e capire questo?

+0

Lo stesso con me. Qualche progresso su questo? –

+0

idem anche qui ... ovviamente questo non ha avuto alcuna trazione però – funkyeah

+0

PhantomJS è sicuramente installato sul server di produzione? – Calvin

risposta

0

Il pacchetto spirable funziona solo come wrapper per phantomjs. Leggere le note:

Se si distribuisce l'applicazione con fascio di meteoriti, è necessario installare phantomjs (http://phantomjs.org) da qualche parte nel tuo $ PATH. Se usi la distribuzione di meteore, questo è già stato risolto.

Quindi, è necessario installare sul proprio server phantomjs te stesso:

sudo npm install phantomjs 

Questi pacchetti potrebbero essere utili:

dfischer:phantomjs

meteor add dfischer:phantomjs 

o gadicohen:phantomjs

meteor add gadicohen:phantomjs 
1

Spiderable è noto per essere abbastanza inaffidabile. Suggerisco invece di utilizzare Prerender se è possibile: http://prerender.io