运行 `feathers 为`RethinkDB` 生成身份验证时出错

Error when running `feathers generate authentication` for `RethinkDB`

我在 运行 feathers generate authentication 选择 rethinkdb 作为数据库时遇到问题。

环境:

重现步骤:

  1. 我已经起来了运行https://github.com/tenzan/feathers-chat.git
  2. feathers generate authentication
  3. Select Username + Password (Local)
  4. 用户(实体)服务的名称是什么? (用户)<-- 输入
  5. 这是什么服务? (使用箭头键)❯RethinkDB <-- Enter

输出:

events.js:182
      throw er; // Unhandled 'error' event
      ^

TypeError: Parameter "url" must be a string, not object
    at Url.parse (url.js:102:11)
    at Object.urlParse [as parse] (url.js:96:5)
    at ConnectionGenerator._getConfiguration (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/connection/index.js:46:24)
    at ConnectionGenerator._writeConfiguration (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/connection/index.js:103:32)
    at ConnectionGenerator.writing (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/connection/index.js:297:10)
    at Object.<anonymous> (/usr/local/lib/node_modules/feathers-cli/node_modules/yeoman-generator/lib/index.js:417:23)
    at /usr/local/lib/node_modules/feathers-cli/node_modules/run-async/index.js:25:25
    at Promise (<anonymous>)
    at /usr/local/lib/node_modules/feathers-cli/node_modules/run-async/index.js:24:19
    at /usr/local/lib/node_modules/feathers-cli/node_modules/yeoman-generator/lib/index.js:418:9

我在具有相同环境的不同 Mac PC 上遇到了相同的错误。

这是 generator-feathers

的问题

config/default

中删除 rethinkdb 对象

看看我能否解决主要问题

编辑:已修复