⇒ hive ui-build
/usr/local/lib/node_modules/hive/bin/hive:42
if(er) throw er
^
AssertionError: app.use() requires a generator function
at Application.app.use (/Users/MJ/5_study_srcs/hive/trysetup/node_modules/koa/lib/application.js:100:5)
at Object.setup (/Users/MJ/5_study_srcs/hive/trysetup/node_modules/hive-interface-rest-api/index.js:40:11)
at startPlugins (/usr/local/lib/node_modules/hive/node_modules/architect/architect.js:474:24)
at startPlugins (/usr/local/lib/node_modules/hive/node_modules/architect/architect.js:482:21)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:607:11)
at run (bootstrap_node.js:427:7)
at startup (bootstrap_node.js:148:9)
at bootstrap_node.js:542:3
I don't know why....Acoording to the document, it seems only need to install node and npm.