Saspiron
Saspiron

Reputation: 180

feathers-client primus not found

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

Answers (1)

ekryski
ekryski

Reputation: 111

That appears to be an error in feathers-client. I've created an issue so feel free to follow along over there.

Upvotes: 1

Related Questions