"Uncaught TypeError: service is not a function"
See original GitHub issueI am trying to use latest FeathersJS (4.3.2) with prerelease Feathers-Vuex 2.0.0-pre.75 (solution to issue #247).
I am getting error as pictured. “Uncaught TypeError: service is not a function”
Question: feathers-vuex newer version no longer returning service as function? Maybe documentation/tutorial how to use Feathers-Vuex need to change?
My vuex store index.js code as in picture and my feathersClient follow tutorial
https://feathers-vuex.feathers-plus.com/api-overview.html#features
`` import feathers from “@feathersjs/feathers”; import socketio from “@feathersjs/socketio-client”; import auth from “@feathersjs/authentication-client”; import io from “socket.io-client”;
const socket = io(“http://localhost:3030”, { transports: [“websocket”] });
const feathersClient = feathers() .configure(socketio(socket)) .configure(auth({ storage: window.localStorage }));
export default feathersClient;``
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
I’m sorry that the Feathers release has caused some extra time spent on the upgrade. It has not been possible for me to manage all of my other responsibilities along with keeping ahead of the recent changes. This is a rare thing, but I appreciate your patience. I’ve added a note to the Readme. I’m going to close this.
@marshallswain Thank you very much for such a useful library and your continued effort.