I am sure this is something very simple, but for some reason I am getting a timeout when trying to integrate the feathersjs client with a very simple jQuery app. Files of interest are in src below. This repo only contains a single service "messages" connected to a NedB database with no authentication. When the script starts, I am attempting to add a single message to my messages service.
Repo:
https://github.com/Ryan8765/jquery-chat
Error in Console:
Uncaught (in promise) Error: Timeout of 5000ms exceeded calling create on messages
at client.js:66
The server side application has been created with an old (v2) version of the CLI but you are loading @feathersjs/feathers@^3.0.0 in the browser which uses a Socket.io message format that is not supported by a v2 server.
feathers --version
on the command line should show 3.3.0 or later. You can either follow the migration guide to upgrade or install the latest @feathersjs/cli
and regenerate the application.
Reference issue feathersjs/feathers#761.