$ mkdir cube-hubot $ cd cube-hubot $ yo hubot --adapter=slack
使用了 yo 會開始初始化專案
1 2 3 4 5
? ========================================================================== We're constantly looking for ways to make yo better! May we anonymously report usage statistics to improve the tool over time? More info: https://github.com/yeoman/insight & http://yeoman.io (Y/n)
[Mon Apr 29 2019 23:48:00 GMT+0800 (CST)] ERROR ReplyError: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. at parseError (/cube-hubot/node_modules/redis-parser/lib/parser.js:193:12) at parseType (/cube-hubot/node_modules/redis-parser/lib/parser.js:303:14)
Available options: -a, --adapter ADAPTER The Adapter to use -c, --create PATH Create a deployable hubot -d, --disable-httpd Disable the HTTP server -h, --help Display the help information -l, --alias ALIAS Enable replacing the robot's name with alias -n, --name NAME The name of the robot in chat -r, --require PATH Alternative scripts path -t, --config-check Test hubot's config to make sure it won't fail at startup -v, --version Displays the version of hubot installed