0
我在運行feathers generate authentication
時選擇rethinkdb
作爲數據庫時遇到問題。爲`RethinkDB`運行羽毛生成認證時出錯
環境:
- 的Mac OS X塞拉利昂
- 羽毛2.2.3
- NPM 5.1.0
- rethinkdb 2.3.5
重現步驟:
- 我已經啓動並運行https://github.com/tenzan/feathers-chat.git
feathers generate authentication
- 選擇
Username + Password (Local)
- 什麼是用戶(實體)服務的名稱? (用戶)< - 輸入
- 它是什麼樣的服務? (使用箭頭鍵)❯RethinkDB < - 輸入
輸出:
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電腦同樣的錯誤。