Reputation: 180
I am getting this error Uncaught TypeError: _feathersClient2.default.primus is not a function
My code is as follows, I am using using ES6 with babel as the compiler.
import feathers from 'feathers-client';
const app = feathers().configure(feathers.primus({
transformer: 'sockjs',
pathname: '/primus',
}));
const locationService = app.service('location');
Upvotes: 1
Views: 85