0

I installed riak from github, then ran:

make rel

And got this:

s/node_package failed application validation with reason:
{missing_app_file,"/User/foo/riak/deps/node_package"}.

How do I fix this?

quantumpotato
  • 9,637
  • 14
  • 70
  • 146

1 Answers1

1

The default branch is develop - it's the development branch and may or may not always build.

You want to checkout the appropriate release tag and build that. The current release is tagged riak-1.4.6.

Brian Roach
  • 76,169
  • 12
  • 136
  • 161
  • I checked out riak-1.4.6, did make rel and still got {missing_app_file, "riak/deps/node_package"}. ERROR: 'get-deps' failed while processing riak: rebar_abort – quantumpotato Jan 05 '14 at 03:01
  • What version of erlang are you using? – Brian Roach Jan 05 '14 at 03:06
  • 1
    And actually ... if you already tried to build develop you may need to delete `deps/` (I generally delete `riak/` and reclone just to make sure there's no cruft) – Brian Roach Jan 05 '14 at 03:09
  • git checkout riak-1.4.6, rm -rf deps, make rel worked, thanks! Now if only my servers would start.. (detailed notes): http://stackoverflow.com/questions/20936642/riak-node-is-not-running – quantumpotato Jan 05 '14 at 17:21