Failed to setup hive on mac

5 views
Skip to first unread message

bests...@gmail.com

unread,
May 16, 2017, 5:37:19 AM5/16/17
to hive.js
Errors infomation:

 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.
I installed hive step by step following the Setup-Installation session, and it seems lacking of sth.

Marcel Klehr

unread,
May 16, 2017, 5:44:53 AM5/16/17
to hiv...@googlegroups.com
hey,

I just fixed the problem. I had put in a dependency with a wildcard
version requirement, but the dependency changed and npm installed the
wrong version for you.

I just fixed the dependency in hive-interface-rest-api. You should be
able to run

npm install hive-interface-rest-api

and to fix the issue.

Cheers,
Marcel
> --
> You received this message because you are subscribed to the Google
> Groups "hive.js" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to hivejs+un...@googlegroups.com
> <mailto:hivejs+un...@googlegroups.com>.
> To post to this group, send email to hiv...@googlegroups.com
> <mailto:hiv...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hivejs/46aa8175-8717-40b4-ac67-0d30f95f73c3%40googlegroups.com
> <https://groups.google.com/d/msgid/hivejs/46aa8175-8717-40b4-ac67-0d30f95f73c3%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages