我收到了这个错误Uncaught TypeError: _feathersClient2.default.primus is not a function
我的代码如下,我使用带有babel的ES6作为编译器。
import feathers from 'feathers-client';
const app = feathers().configure(feathers.primus({
transformer: 'sockjs',
pathname: '/primus',
}));
const locationService = app.service('location');发布于 2015-11-30 06:30:50
这似乎是一个错误的羽毛-客户端。我已经创建了an issue,所以你可以在那里继续学习。
https://stackoverflow.com/questions/33988222
复制相似问题