You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use a reactive query with SSR, the server crashes with the following error:
E20190102-15:40:30.205(1) (webapp_server.js:991) Error running template: TypeError: query.subscribe is not a function
at props (packages/cultofcoders:grapher-react/lib/withReactiveQuery.js:17:42)
at ReactMeteorDataComponent.getMeteorData (packages/react-meteor-data/ReactMeteorData.jsx:181:16)
at MeteorDataManager.calculateData (packages/react-meteor-data/ReactMeteorData.jsx:34:24)
at ReactMeteorDataComponent.componentWillMount (packages/react-meteor-data/ReactMeteorData.jsx:130:45)
[Lines left out]
at sink (imports/startup/server/ssr-server.js:30:3)
at onPageLoad.chain.callback (packages/server-render/server-register.js:14:19)
at promise.then (packages/server-render/server.js:28:36)
at /Users/Florian/.meteor/packages/promise/.0.11.1.1kty3c4.78s++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40
I'm not sure what the best way of solving this is, since we can't subscribe to data on the server?
The text was updated successfully, but these errors were encountered:
If you use a reactive query with SSR, the server crashes with the following error:
I'm not sure what the best way of solving this is, since we can't subscribe to data on the server?
The text was updated successfully, but these errors were encountered: