alxmhe
alxmhe
When connecting outside Meteor, the connection.httpHeaders array is empty. https://docs.meteor.com/api/connections.html#Meteor-onConnection The app crashes when trying to access user-agent. https://github.com/mizzao/meteor-user-status/blob/b628f79d79077323dd16f4056bc7c66299ebee30/status.coffee#L137 > Exception in onLogin callback: TypeError: Cannot read property 'user-agent' of...
When building a front-end app (eg. Create React App) with apollo-link-ddp, the compiler cannot find the package meteor/meteor and throws a warning. https://github.com/Swydo/ddp-apollo/blob/206248064d19072e83e61844944d972442b4efb3/packages/apollo-link-ddp/src/client/apollo-link-ddp.js#L18
Because meteor/swydo:ddp-link requires an install of apollo-link-ddp, we also need to install the npm package graphql. https://github.com/Swydo/ddp-apollo/blob/206248064d19072e83e61844944d972442b4efb3/lib/server/setup.js#L6 These result in 2 graphql packages in the node_modules directory and conflicts. >...