I use feathers for some months now and I already created and used several services. The app is generated with feather/cli command: 'feathers generate app'.
Today I tried to generate a new service with the usual command:
feathers generate service
only to get the error:
× This version of the generator will only work with Feathers Buzzard (v3) and up. Please run
feathers upgradefirst.
Fine. Run the upgrade. Got new error:
throw new Error('It looks like
@feathersjs/feathersis already a dependency. I can not run the upgrade again.');
^
I tried googling my error but it seems like nobody else has this problem so it has to be something I've done.
Any suggestions?
LE: I have in package.json dependencies:
"@feathersjs/errors": "^3.3.6",
"@feathersjs/express": "^1.3.1",
"@feathersjs/feathers": "^3.3.1",
"@feathersjs/socketio": "^3.2.9",
"feathers-knex": "^5.0.7",
"feathers-memory": "^3.0.2",
"feathers-rest": "^1.8.1",
"feathers": "^2.2.4",```
This error will be shown if you still have the feathers
module in your dependencies
in your package.json
. If @feathersjs/feathers
is already included as well you can just remove the feathers
dependency (after making sure it is not used anywhere else in your application which it shouldn't).