question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Uncaught TypeError: service is not a function"

See original GitHub issue

I 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;``

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
marshallswaincommented, Sep 24, 2019

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.

1reaction
apmcodescommented, Sep 24, 2019

@marshallswain Thank you very much for such a useful library and your continued effort.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 7 TypeError: service.x is not a function - Stack Overflow
I get this error: core.js:6210 ERROR Error: Uncaught (in promise): TypeError: appConfig.get is not a function TypeError: appConfig.get is ...
Read more >
How to Handle JavaScript Uncaught TypeError: “x” is Not a ...
The Javascript TypeError: "x" is not a function occurs when calling a function on a value or object, which is not actually a...
Read more >
TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >
Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError - Some selector is not a function - jQuery is not a function - owlCarousel...
Read more >
"Uncaught TypeError: service is not a function" #272 - GitHub
I am trying to use latest FeathersJS (4.3.2) with prerelease Feathers-Vuex 2.0.0-pre.75 (solution to issue #247).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found