meteorhacks / search-source

Reactive Data Source for Search
MIT License
146 stars 33 forks source link

invoking 'search.source': Error: Internal server error [500]...Help please! #50

Open urco opened 8 years ago

urco commented 8 years ago

I´m triying follow step by step the user guide package but I´m getting the same error. Is my first App, and I don´t have idea what happen but sadly, is not working...

Some suggestion? Thanks in advance

Exception in delivering result of invoking 'search.source': Error: Internal server error [500] at _.extend._livedataresult (http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:4625:23) at onMessage (http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:3365:12) at http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:2734:11 at Array.forEach (native) at Function..each._.forEach (http://localhost:3000/packages/underscore.js?46eaedbdeb6e71c82af1b16f51c7da4127d6f285:149:11) at self.socket.onmessage (http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:2733:11) at REventTarget.dispatchEvent (http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:173:22) at SockJS._dispatchMessage (http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:1158:10) at SockJS._didMessage (http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:1216:18) at WebSocket.that.ws.onmessage (http://localhost:3000/packages/ddp-client.js?250b63e6c919c5383a0511ee4efbf42bb70a650f:1363:17)

urco commented 8 years ago

Solved! it´s mandatory add manually "check" and "ejson" package in your App... Aleluya! it´s working fine now!

patrickjmcgoldrick commented 8 years ago

Looks like package.js may be adding check and ejson only for the client. Both are clearly used on the server also.

gabrielmedina commented 8 years ago

@urco Thank you so much!

lucypeony commented 8 years ago

@urco Thanks for your sharing ! It helps me a lot .

urco commented 8 years ago

No problem folks;)