2014-09-10 20 views
7

Gói ảo/nhện có thể không hoạt động.Lỗi thiên thạch có thể quét được

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. 

Nếu tôi truy cập url thông thường trên trang web, tôi không thấy lỗi nhưng nếu tôi thấy nhật ký này xảy ra khá thường xuyên. Bất kỳ ý tưởng về cách gỡ lỗi và con số này ra?

+0

Cùng với tôi. Bất kỳ tiến bộ về điều này? –

+0

ditto ở đây quá ... rõ ràng điều này đã không có bất kỳ lực kéo mặc dù – funkyeah

+0

Là PhantomJS chắc chắn được cài đặt trên máy chủ sản xuất? – Calvin

Trả lời

0

Gói linh hoạt chỉ hoạt động như một trình bao bọc cho các ảo ảnh. Đọc ghi chú:

Nếu bạn triển khai ứng dụng của mình với gói thiên thạch, bạn phải cài đặt phantomjs (http://phantomjs.org) ở đâu đó trong $ PATH. Nếu bạn sử dụng meteor triển khai thì điều này đã được thực hiện.

Vì vậy, bạn phải cài đặt phantomjs trên máy chủ của bạn mình:

sudo npm install phantomjs 

Những gói có thể là hữu ích:

dfischer:phantomjs

meteor add dfischer:phantomjs 

hoặc gadicohen:phantomjs

meteor add gadicohen:phantomjs 
1

Spiderable được biết đến là khá đáng tin cậy. Tôi khuyên bạn nên sử dụng Prerender để thay thế nếu bạn có thể: http://prerender.io

Các vấn đề liên quan