无法生成服务,版本冲突。我能打破什么?

Can not generate service, versioning conflict. What could I broke?

我现在使用 feathers 几个月了,我已经创建并使用了多项服务。该应用程序是使用 feather/cli 命令生成的:'feathers generate app'.

今天我尝试用通常的命令生成一个新服务: feathers generate service 只得到错误:

× This version of the generator will only work with Feathers Buzzard (v3) and up. Please run羽毛升级first.

很好。 运行升级。出现新错误:

throw new Error('It looks like@feathersjs/feathersis already a dependency. I can not run the upgrade again.'); ^

我尝试用谷歌搜索我的错误,但似乎没有其他人遇到过这个问题,所以这一定是我做过的。

有什么建议吗?

LE:我有 package.json 个依赖项:

    "@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",```

如果您在 package.json 中的 dependencies 中仍有 feathers 模块,则会显示此错误。如果 @feathersjs/feathers 也已经包含在内,您只需删除 feathers 依赖项(在确保它没有在您的应用程序中不应该使用的其他任何地方使用之后)。